@Test
public void testGetArtifactWith_DO_NOT_USE_Artifacts() throws IOException {

    String gavc = "dummy";
    List<String> names = new ArrayList<String>();
    Boolean mockedReply = Boolean.TRUE;
    stubFor(get(urlMatching("/" + ServerAPI.ARTIFACT_RESOURCE + "/" + gavc + ServerAPI.SET_DO_NOT_USE))
            .willReturn(aResponse().withStatus(Status.OK.getStatusCode())
                    .withBody(JsonUtils.serialize(mockedReply))
                    .withHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON)));
    Exception exception = null;
    try {
        Boolean reply = client.isMarkedAsDoNotUse(gavc);
        assertEquals(reply.booleanValue(), mockedReply);
    } catch (Exception e) {
        exception = e;
    }
    assertNull(exception);
}