@Test public void htmlParse() throws IOException { String testHtml = "Recipe search powered by <a href='http://www.yummly.com/recipes'><img alt='Yummly' src='http://static.yummly.com/api-logo.png'/></a>"; 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.getHtml(), testHtml); }