You are here

public function CsvParserTest::testInvalidResourcePath in Feeds 8.3

Creates a new CsvParser instance with an invalid CSV source.

File

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

Class

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

Namespace

Drupal\Tests\feeds\Unit\Component

Code

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