public function StreamWrapperTest::testSetUri in AmazonS3 7.2
Test setting a URI.
@covers \Drupal\amazons3\StreamWrapper::setUri @covers \Drupal\amazons3\StreamWrapper::getUri
File
- tests/
StreamWrapperTest.php, line 165
Class
Namespace
Drupal\amazons3TestCode
public function testSetUri() {
$wrapper = new StreamWrapper();
$uri = 's3://bucket.example.com/key';
$wrapper
->setUri($uri);
$this
->assertEquals($uri, $wrapper
->getUri());
}