@Test
public void testAfterPropertiesSet_JtaJndiConfig() throws Exception {

    initializeJtaJndiConfig();
    new JtaConfigurer().afterPropertiesSet();
    assertEquals(transactionManager, Jta.getTransactionManager());
    assertEquals(userTransaction, Jta.getUserTransaction());
}