public function DevelClientSideFilterTableTest::testPreRenderTable in Devel 8.3
Same name and namespace in other branches
- 8.2 tests/src/Unit/DevelClientSideFilterTableTest.php \Drupal\Tests\devel\Unit\DevelClientSideFilterTableTest::testPreRenderTable()
- 4.x tests/src/Unit/DevelClientSideFilterTableTest.php \Drupal\Tests\devel\Unit\DevelClientSideFilterTableTest::testPreRenderTable()
@covers ::preRenderTable @dataProvider providerPreRenderTable
File
- tests/
src/ Unit/ DevelClientSideFilterTableTest.php, line 46
Class
- DevelClientSideFilterTableTest
- Tests ClientSideFilterTable element.
Namespace
Drupal\Tests\devel\UnitCode
public function testPreRenderTable($element, $expected) {
$result = ClientSideFilterTable::preRenderTable($element);
$this
->assertEquals($expected, $result);
}