@Test
public void getWrongLicense() throws UnknownHostException{

    WebResource resource = client().resource("/" + ServerAPI.LICENSE_RESOURCE + "/license");
    ClientResponse response = resource.accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
    assertNotNull(response);
    assertEquals(HttpStatus.NOT_FOUND_404, response.getStatus());
}