mirror of https://github.com/apache/jclouds.git
grammar
This commit is contained in:
parent
da96b4637b
commit
5000270090
|
@ -53,7 +53,7 @@ public class S3RedirectionRetryHandlerExpectTest extends BaseS3ClientExpectTest
|
|||
|
||||
HttpResponse success = HttpResponse.builder().statusCode(200).build();
|
||||
|
||||
S3Client clientWhenBucketExists = requestsSendsResponses(bucketFooExists, redirectResponse, bucketFooExistsNowUsesGET, success);
|
||||
S3Client clientWhenBucketExists = requestsSendResponses(bucketFooExists, redirectResponse, bucketFooExistsNowUsesGET, success);
|
||||
|
||||
assert clientWhenBucketExists.bucketExists("foo");
|
||||
|
||||
|
|
|
@ -225,7 +225,7 @@ public abstract class BaseRestClientExpectTest<S> {
|
|||
* the response for {@code requestB}
|
||||
* @return a client configured with this behavior
|
||||
*/
|
||||
public S requestsSendsResponses(HttpRequest requestA, HttpResponse responseA, HttpRequest requestB,
|
||||
public S requestsSendResponses(HttpRequest requestA, HttpResponse responseA, HttpRequest requestB,
|
||||
HttpResponse responseB) {
|
||||
return requestsSendsResponses(ImmutableMap.of(requestA, responseA, requestB, responseB));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue