@Test public void totalMatchesParse() throws IOException { int testMatches = 261356; String s = "http://api.yummly.com/v1/api/recipes?_app_id=95a21eb2&_app_key=d703fa9e11ee34f104bc271ec3bbcdb9&q=garlic"; RecipeSummaryList r = new RecipeSummaryList(); r = JSONProcessor.parseRecipes(s); assertEquals(r.getTotalMatches(), testMatches); }