### Question:
VirtuosoTransaction implements RDFBeanTransaction { @Override public boolean isRollbackOnly() { return rollbackOnly; } VirtuosoTransaction(Connection connection, boolean readOnly, int txTimeout, int isolationLevel); @Override void commit(); @Override boolean isActive(); @Override boolean isRollbackOnly(); @Override void prepare(); @Override void rollback(); @Override void setRollbackOnly();  }### Answer:
@Test public void IsRollbackOnly() { assertFalse(tx.isRollbackOnly()); tx.setRollbackOnly(); assertTrue(tx.isRollbackOnly()); }