public function testValidAndInvalidPaths()
 {
     $input = ['bad/bad/path', 'bin', 'src', 'invalid-path', 'tests/DataFixtures/Locator'];
     $expected = ['bin', 'src', 'tests/DataFixtures/Locator'];
     $locator = new FixtureLocator($input);
     static::assertEquals([], $locator->locate('FixtureLocator.php'));
     $locator->setPaths(FixturePaths::create(...$input));
     $resultingPaths = $locator->locateValidPaths(null, FixturePaths::create(...$input));
     foreach ($resultingPaths as $i => $p) {
         static::assertEquals($expected[$i], substr($p, strlen($p) - strlen($expected[$i])));
     }
 }