@Test
public void shouldThrowExceptionWithResponseOnNotFound() throws Exception {
try {
// pre-conditions
mockDirector.mockGetAny(new NotFoundException(Samples.GET_DOMAINS_FOOBAR_KO_NOTFOUND.getContentAsString()));
// operation
service.request(new TestLink("0 require parameter", "/broker/rest/adietisheim", HttpMethod.GET),
IHttpClient.NO_TIMEOUT, Collections.<Parameter> emptyList(), Collections.<Parameter> emptyList());
// verifications
fail("OpenShiftEndPointException expected, did not occurr");