use of org.apache.sling.hapi.client.impl.microdata.MicrodataHtmlClient in project sling by apache.
the class GetPostTest method testValidGet.
@Test
public void testValidGet() throws ClientException, URISyntaxException {
MicrodataHtmlClient client = new MicrodataHtmlClient(httpServer.getURI().toString());
Document doc = client.get(GET_URL);
Assert.assertThat("GET request failed", doc.toString(), new StringContains(OK_RESPONSE));
}
Aggregations