### Question:
ServiceInstanceLogDao { protected void insert(final ServiceInstanceLogModel... logs) { if ((logs == null) || (logs.length == 0)) { return; } this.insert(Lists.newArrayList(logs)); } private  ServiceInstanceLogDao(); List<ServiceInstanceLog> select(ServiceInstanceLogModel filter); List<ServiceInstanceLog> query(final String condition, final List<Object> args); static final ServiceInstanceLogDao INSTANCE; }### Answer:
@Test public void testInsert() { final ServiceInstanceLogModel log1 = newModel(); final ServiceInstanceLogModel log2 = newModel(); final List<ServiceInstanceLogModel> logs = Lists.newArrayList(log1, log2); serviceInstanceLogDao.insert(log1, log2); for (final ServiceInstanceLogModel log : logs) { final List<ServiceInstanceLog> logModels = query(log); Assert.assertEquals(1, logModels.size()); assertLog(log, logModels.get(0)); } }