@Test
public void testAfterPropertiesSet_NoJta() throws Exception {

    ConfigContext.init(new SimpleConfig()); // initialize empty config
    new JtaConfigurer().afterPropertiesSet();
    assertTrue(Jta.isFrozen());
    assertFalse(Jta.isEnabled());
    assertNull(Jta.getTransactionManager());
    assertNull(Jta.getUserTransaction());
}