### Question:
VirtuosoTransaction implements RDFBeanTransaction { @Override public void rollback() { try { conn.rollback(); } catch (SQLException e) { throw new RepositoryException(e); } } 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 Rollback() { STMT stmt = new STMT(new BID(), RDF.type, RDFS.Class); toBeRemoved = Collections.singleton(stmt); connection.update(null, Collections.singleton(stmt)); tx.rollback(); assertNotExists(stmt.getSubject(), null, null, null); }