You are here

public function CsvParserTest::testInvalidFilePath in Feeds 8.3

Tries to create a CsvParser instance with an invalid file path.

File

tests/src/Unit/Component/CsvParserTest.php, line 106

Class

CsvParserTest
@coversDefaultClass \Drupal\feeds\Component\CsvParser @group feeds

Namespace

Drupal\Tests\feeds\Unit\Component

Code

public function testInvalidFilePath() {
  $this
    ->expectException(InvalidArgumentException::class);
  CsvParser::createFromFilePath('beep boop');
}