/** * 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)); }