public function StrToTimeTest::testTamperExceptionWithInvalidInput in Tamper 8
@covers ::tamper
File
- tests/
src/ Unit/ Plugin/ Tamper/ StrToTimeTest.php, line 37
Class
- StrToTimeTest
- Tests the strtotime plugin.
Namespace
Drupal\Tests\tamper\Unit\Plugin\TamperCode
public function testTamperExceptionWithInvalidInput() {
$this
->expectException(TamperException::class);
$this->plugin
->tamper(new \stdClass());
}