/**
  * Tests that PathFinderBase::requireFile() works properly.
  *
  * @covers ::requireFile()
  */
 public function testRequireFile()
 {
     $pathFinder = new PathFinderNull(['data/acme.inc']);
     $pathFinder->requireFile('data/acme.inc');
     $included = get_included_files();
     $this->assertTrue(in_array(realpath('data/acme.inc'), $included));
 }
 /**
  * Tests that find() works properly.
  *
  * @covers ::find()
  */
 public function testFind()
 {
     $pathFinder = new PathFinderNull(['data/acme.inc']);
     $path = $pathFinder->find(NULL);
     $this->assertEquals('data/acme.inc', $path);
 }