InternalCallVerifier BooleanVerifier
@Test void testOperationAbortedIsOkWhenBucketExists() throws Exception {
S3Client client=createMock(S3Client.class);
expect(client.bucketExists("bucket")).andReturn(true);
replay(client);
Exception e=getErrorWithCode("OperationAborted");
assertFalse(new FalseIfBucketAlreadyOwnedByYouOrOperationAbortedWhenBucketExists(client).setContext(putBucket).createOrPropagate(e));
verify(client);
}