@Test
 public void testIsActive_3() throws Exception {
   expect(tx.getStatus()).andThrow(new SystemException("bad"));
   replay(tx);
   try {
     jut.isActive();
   } catch (DoceException e) {
     assertEquals("bad", e.getCause().getMessage());
   }
 }
 @Test
 public void testIsActive_2() throws Exception {
   expect(tx.getStatus()).andReturn(Status.STATUS_UNKNOWN);
   replay(tx);
   assertFalse(jut.isActive());
 }
 @Test
 public void testIsActive() throws Exception {
   expect(tx.getStatus()).andReturn(Status.STATUS_ACTIVE);
   replay(tx);
   assertTrue(jut.isActive());
 }