You are here

public function RewriteTest::testWithoutTamperableItem in Tamper 8

Tests if no rewrite takes place when there's no tamperable item.

File

tests/src/Unit/Plugin/Tamper/RewriteTest.php, line 54

Class

RewriteTest
Tests the rewrite plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

public function testWithoutTamperableItem() {
  $this
    ->assertEquals('foo', $this
    ->instantiatePlugin()
    ->tamper('foo'));
}