You are here

public function BasicPathTest::testToString in AmazonS3 7.2

@covers Drupal\amazons3\Matchable\BasicPath::__toString

File

tests/Matchable/BasicPathTest.php, line 31

Class

BasicPathTest
@class BasicPathTest @package Drupal\amazons3Test\Matchable

Namespace

Drupal\amazons3Test\Matchable

Code

public function testToString() {
  $path = new BasicPath('.*');
  $this
    ->assertEquals($path
    ->getPath(), (string) $path);
}