@Test
public void testParseMany() throws Exception {

	final SearchResult searchResult = parser.parse(ResourceUtil.getJsonObjectFromResource("/json/search/many-issues.json"));
	assertEquals(9, searchResult.getTotal());
	assertEquals(8, searchResult.getMaxResults());
	assertEquals(0, searchResult.getStartIndex());
	assertEquals(8, Iterables.size(searchResult.getIssues()));
	assertEquals(new BasicIssue(toUri("http://localhost:8090/jira/rest/api/latest/issue/RST-1"), "RST-1"), Iterables.getLast(searchResult.getIssues()));
}