use of org.neo4j.server.helpers.CommunityServerBuilder in project neo4j by neo4j.
the class NeoServerJAXRSIT method shouldMakeJAXRSClassesAvailableViaHTTP.
@Test
public void shouldMakeJAXRSClassesAvailableViaHTTP() throws Exception {
CommunityServerBuilder builder = CommunityServerBuilder.server();
server = ServerHelper.createNonPersistentServer(builder);
FunctionalTestHelper functionalTestHelper = new FunctionalTestHelper(server);
JaxRsResponse response = new RestRequest().get(functionalTestHelper.managementUri());
assertEquals(200, response.getStatus());
response.close();
}
Aggregations