More updates to stop using dev or alpha or beta versions.
[yaffs-website] / web / core / tests / Drupal / Tests / Component / Annotation / MockFileFinderTest.php
1 <?php
2
3 namespace Drupal\Tests\Component\Annotation;
4
5 use Drupal\Component\Annotation\Reflection\MockFileFinder;
6 use PHPUnit\Framework\TestCase;
7
8 /**
9  * @coversDefaultClass \Drupal\Component\Annotation\Reflection\MockFileFinder
10  * @group Annotation
11  */
12 class MockFileFinderTest extends TestCase {
13
14   /**
15    * @covers ::create
16    * @covers ::findFile
17    */
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'));
22   }
23
24 }