You are here

public function RequiredTest::testRequiredWithEmptyString in Tamper 8

Test required with empty string.

File

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

Class

RequiredTest
Test the required plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

public function testRequiredWithEmptyString() {
  $this
    ->expectException(SkipTamperItemException::class);
  $this->plugin
    ->tamper('');
}