You are here

public function RequiredTest::testRequiredWithSingleValue in Tamper 8

Test required with a string.

File

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

Class

RequiredTest
Test the required plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

public function testRequiredWithSingleValue() {
  $this
    ->assertEquals('Expected', $this->plugin
    ->tamper('Expected'));
}