assertEquals(expected.size(), actual.size());
Assert.assertArrayEquals(expected.toArray(), actual.toArray());
}
public void testFindByExampleExactMatchPaging(){
SystemCodes example = new SystemCodes();
example.setDisableProtection(true);
example.setCategory("OFFICE");
List<SystemCodes> expected = jdbcTemplate.query("SELECT * FROM SYSTEM_CODES WHERE CATEGORY_='OFFICE' limit 4,5", new SystemCodesMapper());
List<SystemCodes> actual = systemCodesService.findByExample(example,true,4,5);
_log.debug("Size exact match: "+expected.size());
assertEquals(expected.size(), actual.size());