You are here

public function StreamWrapperTest::testExternalUriNotSet in AmazonS3 7.2

Test that we throw an exception if a URI is not set.

@expectedException \LogicException @covers \Drupal\amazons3\StreamWrapper::getExternalUrl

File

tests/StreamWrapperTest.php, line 189

Class

StreamWrapperTest
Tests \Drupal\amazons3\StreamWrapper.

Namespace

Drupal\amazons3Test

Code

public function testExternalUriNotSet() {
  $wrapper = new StreamWrapper();
  $wrapper
    ->getExternalUrl();
}