ClosedTransactionException extends RequestException { public boolean isSuccessful() { return successful; } ClosedTransactionException(final boolean successful); @Override boolean isRetriable(); boolean isSuccessful();  }
@Test public void testIsSuccessful() { Assert.assertEquals(true, OBJECT.isSuccessful()); }