You are here

public function S3UrlTest::testGetKey in AmazonS3 7.2

@covers Drupal\amazons3\S3Url::setKey @covers Drupal\amazons3\S3Url::getKey

File

tests/S3UrlTest.php, line 41

Class

S3UrlTest
Test S3Url.

Namespace

Drupal\amazons3Test

Code

public function testGetKey() {
  $url = new S3Url('bucket');
  $url
    ->setKey('key');
  $this
    ->assertEquals('key', $url
    ->getKey());
}