@Test public void testDelete() throws Exception { GroupOperationModel groupOperation = newGroupOperation(); groupOperationDao.insertOrUpdate(groupOperation); assertGroupOperation(groupOperation, query(groupOperation)); groupOperationDao.delete(groupOperation); Assert.assertNull(query(groupOperation)); }
protected void delete(GroupOperationModel groupOperation) { delete(Lists.newArrayList(groupOperation)); }
GroupOperationDao { protected void delete(GroupOperationModel groupOperation) { delete(Lists.newArrayList(groupOperation)); } }
GroupOperationDao { protected void delete(GroupOperationModel groupOperation) { delete(Lists.newArrayList(groupOperation)); } private  GroupOperationDao(); }
GroupOperationDao { protected void delete(GroupOperationModel groupOperation) { delete(Lists.newArrayList(groupOperation)); } private  GroupOperationDao(); List<GroupOperationModel> query(); }
GroupOperationDao { protected void delete(GroupOperationModel groupOperation) { delete(Lists.newArrayList(groupOperation)); } private  GroupOperationDao(); List<GroupOperationModel> query(); static final GroupOperationDao INSTANCE; }