You are here

public function FinderTest::testNoResults in Database Sanitize 7

File

vendor/symfony/finder/Tests/FinderTest.php, line 473

Class

FinderTest

Namespace

Symfony\Component\Finder\Tests

Code

public function testNoResults() {
  $finder = $this
    ->buildFinder();
  $finder
    ->in(__DIR__)
    ->name('DoesNotExist');
  $this
    ->assertFalse($finder
    ->hasResults());
}