You are here

public function MatchablePathsTest::testImplode in AmazonS3 7.2

@covers Drupal\amazons3\Matchable\MatchablePaths::__construct @covers Drupal\amazons3\Matchable\MatchablePaths::__toString

File

tests/Matchable/MatchablePathsTest.php, line 14

Class

MatchablePathsTest

Namespace

Drupal\amazons3Test\Matchable

Code

public function testImplode() {
  $mp = new MatchablePaths(BasicPath::factory(array(
    '.*',
    '.?',
  )));
  $this
    ->assertEquals('.*|.?', (string) $mp);
}