@Test
public void getModulePromotionStatusNotFound() throws IOException{

    stubFor(get(urlEqualTo("/" + ServerAPI.MODULE_RESOURCE + "/doesNotExit/1.0.0" + ServerAPI.PROMOTION))
            .willReturn(aResponse()
                    .withHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON)
                    .withBody(JsonUtils.serialize(Boolean.TRUE))
                    .withStatus(Status.OK.getStatusCode())));
    Exception exception = null;
    try{
        client.getModulePromotionStatus("doesNotExist", "1.0.0");
    }catch (Exception e) {
        exception = e;
    }
    assertNotNull(exception);
}