You are here

public function JmesRuntimeFactoryTest::testCreateCompilerRuntime in Feeds extensible parsers 8

@covers ::createCompilerRuntime

File

tests/src/Unit/JmesRuntimeFactoryTest.php, line 47

Class

JmesRuntimeFactoryTest
@coversDefaultClass \Drupal\feeds_ex\JmesRuntimeFactory @group feeds_ex

Namespace

Drupal\Tests\feeds_ex\Unit

Code

public function testCreateCompilerRuntime() {
  $stream = vfsStream::setup('feeds');
  $runtime = $this->factory
    ->createCompilerRuntime($stream
    ->url());
  $this
    ->assertInstanceOf('JmesPath\\CompilerRuntime', $runtime);
}