### Question:
ZoneOperationDao { public void insertOrUpdate(ZoneOperationModel... operationModels) { insertOrUpdate(Lists.newArrayList(operationModels)); } private  ZoneOperationDao(); List<ZoneOperationModel> query(); void delete(final ZoneOperationModel... zoneOperations); void delete(final List<ZoneOperationModel> zoneOperations); void insertOrUpdate(ZoneOperationModel... operationModels); void insertOrUpdate(final List<ZoneOperationModel> models); List<ZoneOperationModel> select(ZoneOperationModel filter); static final ZoneOperationDao INSTANCE; }### Answer:
@Test public void testInsertOrUpdate() { ZoneOperationModel zone = newZoneOperation(); zoneOperationDao.insertOrUpdate(zone); assertZoneOperation(zone, query(zone)); zoneOperationDao.insertOrUpdate(zone); assertZoneOperation(zone, query(zone)); }