@Test
public void getModuleGraph() throws UnknownHostException {

    when(repositoryHandler.getModule(anyString())).thenReturn(new DbModule());
    WebResource resource = client().resource("/" + ServerAPI.SEQUOIA_RESOURCE + "/graph/module/1");
    ClientResponse response = resource.accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
    assertNotNull(response);
    assertEquals(HttpStatus.OK_200, response.getStatus());
    AbstractGraph graph = response.getEntity(ModuleGraph.class);
    assertNotNull(graph);
}