@Test
public void testReset() throws Exception {

    assertFalse(Jta.isFrozen());
    Jta.configure(transactionManager, userTransaction);
    assertTrue(Jta.isFrozen());
    assertTrue(Jta.isEnabled());
    assertSame(transactionManager, Jta.getTransactionManager());
    assertSame(userTransaction, Jta.getUserTransaction());
    Jta.reset();
    assertFalse(Jta.isFrozen());
    assertFalse(Jta.isEnabled());
}