Mercurial > hg > isophonics-drupal-site
view core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 1fec387a4317 |
children |
line wrap: on
line source
<?php namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Reflection\MockFileFinder; use PHPUnit\Framework\TestCase; /** * @coversDefaultClass \Drupal\Component\Annotation\Reflection\MockFileFinder * @group Annotation */ class MockFileFinderTest extends TestCase { /** * @covers ::create * @covers ::findFile */ public function testFindFile() { $tmp = MockFileFinder::create('testfilename.txt'); $this->assertEquals('testfilename.txt', $tmp->findFile('n/a')); $this->assertEquals('testfilename.txt', $tmp->findFile('someclass')); } }