@Test
public void getProductModuleNamesNotFound() throws IOException {

    stubFor(get(urlMatching("/" + ServerAPI.PRODUCT_RESOURCE + "/doesNotExist" + ServerAPI.GET_MODULES))
            .willReturn(aResponse().withStatus(Status.NOT_FOUND.getStatusCode())));
    List<String> gotNames = null;
    Exception exception = null;
    try {
        gotNames = client.getProductModuleNames("doesNotExist");
    } catch (Exception e) {
        exception = e;
    }
    assertNotNull(exception);
}