This commit is contained in:
Adrian Cole 2012-01-10 12:33:45 -08:00
parent da96b4637b
commit 5000270090
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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));
}