@Test public void urlParse() throws IOException { String testUrl = "http://www.yummly.com/recipes/"; String s = "http://api.yummly.com/v1/api/recipes?_app_id=95a21eb2&_app_key=d703fa9e11ee34f104bc271ec3bbcdb9&"; RecipeSummaryList r = new RecipeSummaryList(); r = JSONProcessor.parseRecipes(s); assertEquals(r.getUrl(), testUrl); }