You are here

public function RequiredTest::testInvertedRequiredWithBool in Tamper 8

Test required with false.

File

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

Class

RequiredTest
Test the required plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

public function testInvertedRequiredWithBool() {
  $this
    ->assertEquals(FALSE, $this->invertedPlugin
    ->tamper(FALSE));
}