You are here

public function FrxTitleTest::testFrxXML in Forena Reports 8

Test FrxXML Renderer

File

tests/src/Unit/Renderer/FrxTitleTest.php, line 40

Class

FrxTitleTest
@group Forena @require module forena @coversDefaultClass \Drupal\forena\FrxPlugin\Renderer\FrxXML

Namespace

Drupal\Tests\forena\Unit\Renderer

Code

public function testFrxXML() {
  $output = $this
    ->render('\\Drupal\\forena\\FrxPlugin\\Renderer\\FrxTitle', $this->doc);
  $this
    ->assertEquals('Overridden Title', $this->report->title);
}