@Test
public void getModuleVersionsNotFound() throws IOException{

    stubFor(get(urlEqualTo("/" + ServerAPI.MODULE_RESOURCE + "/doesNotExit" + ServerAPI.GET_VERSIONS))
            .willReturn(aResponse()
                    .withStatus(Status.NOT_FOUND.getStatusCode())));
    Exception exception = null;
    try{
        client.getModuleVersions("doesNotExit");
    }catch (Exception e) {
        exception = e;
    }
    assertNotNull(exception);
}