You are here

public function FieldKernelTest::testEmpty in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php \Drupal\Tests\views\Kernel\Handler\FieldKernelTest::testEmpty()

Tests everything related to empty output of a field.

File

core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php, line 394

Class

FieldKernelTest
Tests the generic field handler.

Namespace

Drupal\Tests\views\Kernel\Handler

Code

public function testEmpty() {
  $this
    ->_testHideIfEmpty();
  $this
    ->_testEmptyText();
}