assertNotNull("Response is null.", response);
int expectedSize = 2;
assertEquals("Expected person list to be a size of '" + expectedSize + "'.", expectedSize, response.getPerson().size());
Person person = response.getPerson().get(0);
assertNotNull("Person is null.", person);
assertEquals("Expected id of '" + ID + "'.", ID.intValue(), person.getId());
assertEquals("Expected first name of '" + FIRST_NAME + "'.", FIRST_NAME, person.getFirstName());
assertEquals("Expected last name of '" + LAST_NAME + "'.", LAST_NAME, person.getLastName());
Person person2 = response.getPerson().get(1);
assertNotNull("Person is null.", person2);
assertEquals("Expected id of '" + SECOND_ID + "'.", SECOND_ID.intValue(), person2.getId());
assertEquals("Expected first name of '" + SECOND_FIRST_NAME + "'.", SECOND_FIRST_NAME, person2.getFirstName());
assertEquals("Expected last name of '" + SECOND_LAST_NAME + "'.", SECOND_LAST_NAME, person2.getLastName());
logger.debug("person1=[" +
"id=" + person.getId() +
" firstName=" + person.getFirstName() +
" lastName=" + person.getLastName() +
"]," +
"person2=[" +
"id=" + person2.getId() +
" firstName=" + person2.getFirstName() +
" lastName=" + person2.getLastName() +
"]");
}