@Test
public void getDoNotUse() throws UnknownHostException {

    final DbArtifact artifact = new DbArtifact();
    artifact.setGroupId("groupId");
    artifact.setArtifactId("artifactId");
    artifact.setVersion("1.0.0");
    when(repositoryHandler.getArtifact(artifact.getGavc())).thenReturn(artifact);
    WebResource resource = client().resource("/" + ServerAPI.ARTIFACT_RESOURCE + "/" + artifact.getGavc() + ServerAPI.SET_DO_NOT_USE);
    ClientResponse response = resource.accept(MediaType.APPLICATION_JSON).get(ClientResponse.class);
    assertNotNull(response);
    assertEquals(HttpStatus.OK_200, response.getStatus());
    final Boolean test = response.getEntity(Boolean.class);
    assertNotNull(test);
    assertFalse(test);
}