You are here

public function S3UrlTest::testFactory in AmazonS3 7.2

@covers Drupal\amazons3\S3Url::factory

File

tests/S3UrlTest.php, line 68

Class

S3UrlTest
Test S3Url.

Namespace

Drupal\amazons3Test

Code

public function testFactory() {
  $url = S3Url::factory('s3://bucket/key');
  $this
    ->assertInstanceOf('Drupal\\amazons3\\S3Url', $url);
}