/** Tests validateSetup with invalid config. */
 @Test(expected = RuntimeException.class)
 public void testValidateSetup_invalid() {
   Class<? extends TransactionManager> tmClass = JdbcConnectionsTransactionManager.class;
   UtilityForBo2Test.setCurrentTransactionManager(tmClass);
   JotmConnectionStrategy subject = new JotmConnectionStrategy();
   ReflectionUtils.invokeMethodByUniqueName(
       subject, "validateSetup", new Object[] {}); // $NON-NLS-1$
 }
 /** Tests validateSetup */
 @Test
 public void testValidateSetup_valid() {
   JotmConnectionStrategy subject = new JotmConnectionStrategy();
   ReflectionUtils.invokeMethodByUniqueName(
       subject, "validateSetup", new Object[] {}); // $NON-NLS-1$
 }