Package com.splunk.shuttl.archiver.copy.CallCopyBucketEndpoint

Examples of com.splunk.shuttl.archiver.copy.CallCopyBucketEndpoint.ResponseHandler


  }

  @Test(expectedExceptions = { NonSuccessfulBucketCopy.class })
  public void _givenCopyRequestNot200Status_throws() throws IOException {
    copyBucketEndpoint = new CallCopyBucketEndpoint(httpClient, shuttlMBean,
        new ResponseHandler());

    LocalBucket bucket = TUtilsBucket.createBucket();
    when(
        httpClient.execute(any(HttpUriRequest.class)).getStatusLine()
            .getStatusCode()).thenReturn(500);
View Full Code Here

TOP

Related Classes of com.splunk.shuttl.archiver.copy.CallCopyBucketEndpoint.ResponseHandler

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.