use of org.neo4j.doc.server.helpers.CommunityWebContainerBuilder in project neo4j-documentation by neo4j.
the class NeoServerJAXRSDocIT method shouldMakeJAXRSClassesAvailableViaHTTP.
@Test
public void shouldMakeJAXRSClassesAvailableViaHTTP() throws Exception {
CommunityWebContainerBuilder builder = CommunityWebContainerBuilder.builder();
webContainer = WebContainerHelper.createContainer(builder, folder, true);
FunctionalTestHelper functionalTestHelper = new FunctionalTestHelper(webContainer);
JaxRsResponse response = new RestRequest().get(functionalTestHelper.baseUri().toASCIIString());
assertEquals(200, response.getStatus());
}
Aggregations