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