You are here

public function FrxSourceTest::testFrxSource in Forena Reports 8

Test FrxSource Renderer

File

tests/src/Unit/Renderer/FrxSourceTest.php, line 42

Class

FrxSourceTest
@group Forena @require module forena @coversDefaultClass \Drupal\forena\FrxPlugin\Renderer\FrxSource

Namespace

Drupal\Tests\forena\Unit\Renderer

Code

public function testFrxSource() {
  $output = $this
    ->render('\\Drupal\\forena\\FrxPlugin\\Renderer\\FrxSource', $this->doc);
  $this
    ->assertContains('<p frx:if="test"/>', $output, 'Rendered Control contains raw markup');
}