You are here

public function RequiredTest::testInvertedRequiredWithEmptyString in Tamper 8

Test required with empty string.

File

tests/src/Unit/Plugin/Tamper/RequiredTest.php, line 67

Class

RequiredTest
Test the required plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

public function testInvertedRequiredWithEmptyString() {
  $this
    ->assertEquals('', $this->invertedPlugin
    ->tamper(''));
}