@Test
public void testMapToResults() throws Exception {

	Results<IndividualSegment> results =
		_individualSegmentJSONObjectMapper.mapToResults(
			_read("get-individual-segments.json"));
	Assert.assertEquals(2, results.getTotal());
	List<IndividualSegment> individualSegments = results.getItems();
	IndividualSegment individualSegment = individualSegments.get(0);
	Assert.assertEquals("324849894334623092", individualSegment.getId());
	Assert.assertEquals("British Developers", individualSegment.getName());
	Assert.assertEquals(8L, individualSegment.getIndividualCount());
	Author author = individualSegment.getAuthor();
	Assert.assertEquals("132184", author.getId());
}