.andExpect(content().contentTypeCompatibleWith("text/html"))
.andReturn();
Document html = Jsoup.parse(response.getResponse().getContentAsString());
assertThat(html.select("ul li.active").text(), equalTo("Guides"));
Assert.assertThat(html.text(), containsString("Building a RESTful Web Service"));
Assert.assertThat(html.text(), containsString("Learn how to create a RESTful web service with Spring"));
Assert.assertThat(html.text(), containsString("Designing and Implementing RESTful Web Services with Spring"));
Assert.assertThat(html.text(),
containsString("Learn how to design and implement RESTful web services with Spring"));
}