You are here

public function MatchablePathsTest::testNoMatch in AmazonS3 7.2

@covers Drupal\amazons3\Matchable\MatchablePaths::match

File

tests/Matchable/MatchablePathsTest.php, line 32

Class

MatchablePathsTest

Namespace

Drupal\amazons3Test\Matchable

Code

public function testNoMatch() {
  $paths = BasicPath::factory(array(
    'foo',
    'bar',
  ));
  $mp = new MatchablePaths($paths);
  $this
    ->assertFalse($mp
    ->match('no-match'));
}