when(resultSet.next()).thenReturn(true, false);
when(resultSet.getString(1)).thenReturn("fd");
when(resultSet.getInt(2)).thenReturn(23);
CompositeMapper mapper = new CompositeMapper();
mapper.addMapper(new StringMapper(), 0);
mapper.addMapper(new IntegerMapper(), 1);
List<List<Object>> result = basePeerImpl.doSelect(
criteria, mapper, connection);