public function S3UrlTest::testGetBucket in AmazonS3 7.2
@covers Drupal\amazons3\S3Url::setBucket @covers Drupal\amazons3\S3Url::getBucket
File
- tests/
S3UrlTest.php, line 31
Class
- S3UrlTest
- Test S3Url.
Namespace
Drupal\amazons3TestCode
public function testGetBucket() {
$url = new S3Url('bucket');
$url
->setBucket('second-bucket');
$this
->assertEquals('second-bucket', $url
->getBucket());
}