public function DevelClientSideFilterTableTest::testPreRenderTable in Devel 4.x
Same name and namespace in other branches
- 8.3 tests/src/Unit/DevelClientSideFilterTableTest.php \Drupal\Tests\devel\Unit\DevelClientSideFilterTableTest::testPreRenderTable()
- 8.2 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);
}