finalRows = bean.countRows();
assertTrue("Initial rows: " + initialRows + ", Final rows: " + finalRows, finalRows - initialRows == 0);
//Test without client transaction - an exception is thrown because a transaction is mandatory
try {
bean.insertRow("testWithoutClientTran", 1);
fail("IllegalStateException not thrown");
} catch (IllegalStateException e) {
e.printStackTrace();
}
}