107108109110111112113114115
// Test that only 1 object is saved. assertEquals( 1, artiDao.queryArtifacts( null ).size() ); // Delete object. artiDao.deleteArtifact( actualArtifact ); assertEquals( 0, artiDao.queryArtifacts( null ).size() ); } }