Package com.openshift.internal.client.httpclient

Examples of com.openshift.internal.client.httpclient.NotFoundException


  @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");
View Full Code Here

TOP

Related Classes of com.openshift.internal.client.httpclient.NotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.