@Test
public void isPromulgableModule(){

    String moduleName = "module";
    String moduleVersion = "1.0.0-SNAPSHOT";
    stubFor(get(urlEqualTo("/" + ServerAPI.MODULE_RESOURCE + "/" + moduleName + "/" + moduleVersion + ServerAPI.PROMOTION + ServerAPI.GET_FEASIBLE))
            .willReturn(aResponse()
                    .withHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON)
                    .withBody("true")
                    .withStatus(Status.OK.getStatusCode())));
    Exception exception = null;
    Boolean isPromulgable = null;
    try{
        isPromulgable = client.moduleCanBePromoted(moduleName, moduleVersion);
    }catch (Exception e) {
        exception = e;
    }
    assertNull(exception);
    assertNotNull(isPromulgable);
    assertTrue(isPromulgable);
}