@Test
public void testGetObject_Null() throws Exception {

    Jta.configure(null, null);
    UserTransaction userTransaction = userTransactionFactoryBean.getObject();
    // should not be null, but should be a proxy to a non-existent transaction manager
    assertNotNull(userTransaction);
    assertTrue(Proxy.isProxyClass(userTransaction.getClass()));
    try {
        userTransaction.getStatus();
        fail("IllegalStateException should have been thrown");
    } catch (IllegalStateException e) {}
}