append(new Result(array(true))); $s3Client = new S3Client([ 'profile' => AWS_ACCOUNT_PROFILE_NAME, 'region' => AWS_REGION_ID, 'version' => S3_API_VERSION, 'handler' => $mock ]); $this->assertEquals(createBucket( $s3Client, S3_BUCKET_NAME ), 'The bucket\'s location is: ' . '. ' . 'The bucket\'s effective URI is: ' . 'https://my-bucket.s3.amazonaws.com/'); } }