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