// Assert.fail();
completeTransaction();
} catch (TransactionRolledbackLocalException e) {
if (!(e.getCause() instanceof IllegalStateException)) {
e.printStackTrace();
throw new TestFailureException(new AssertionFailedError("Received Exception " + e.getClass() + " : " + e.getMessage()));
}
} catch (Throwable e) {
e.printStackTrace();
throw new TestFailureException(new AssertionFailedError("Received Exception " + e.getClass() + " : " + e.getMessage()));
} finally {
completeTransaction();
cleanDb();
}
}