You are here

public function FetcherResultTest::testGetFilePath in Feeds 8.3

@covers ::getFilePath

File

tests/src/Unit/Result/FetcherResultTest.php, line 27

Class

FetcherResultTest
@coversDefaultClass \Drupal\feeds\Result\FetcherResult @group feeds

Namespace

Drupal\Tests\feeds\Unit\Result

Code

public function testGetFilePath() {
  file_put_contents('vfs://feeds/test_file', 'I am test data.');
  $result = new FetcherResult('vfs://feeds/test_file');
  $this
    ->assertSame('vfs://feeds/test_file', $result
    ->getFilePath());
}