@Test
public void deleteArtifact(){

    String gavc = "test:test:test:test:test:test";
    stubFor(delete(urlEqualTo("/" + ServerAPI.ARTIFACT_RESOURCE + "/" + gavc))
            .willReturn(aResponse()
                    .withStatus(Status.OK.getStatusCode())));
    Exception exception = null;
    try{
        client.deleteArtifact(gavc, "user", "password");
    }catch (Exception e) {
        exception = e;
    }
    assertNull(exception);
}