3 namespace Drupal\Tests\Component\Annotation;
5 use Drupal\Component\Annotation\Reflection\MockFileFinder;
6 use PHPUnit\Framework\TestCase;
9 * @coversDefaultClass \Drupal\Component\Annotation\Reflection\MockFileFinder
12 class MockFileFinderTest extends TestCase {
18 public function testFindFile() {
19 $tmp = MockFileFinder::create('testfilename.txt');
20 $this->assertEquals('testfilename.txt', $tmp->findFile('n/a'));
21 $this->assertEquals('testfilename.txt', $tmp->findFile('someclass'));