You are here

public function StrPadTest::testTamperExceptionWithInvalidInput in Tamper 8

@covers ::tamper

File

tests/src/Unit/Plugin/Tamper/StrPadTest.php, line 74

Class

StrPadTest
Tests the StrPad plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

public function testTamperExceptionWithInvalidInput() {
  $this
    ->expectException(TamperException::class);
  $this->plugin
    ->tamper(new \stdClass());
}