You are here

protected function CastToIntTest::instantiatePlugin in Tamper 8

Instantiates a plugin.

Return value

\Drupal\tamper\TamperInterface A tamper plugin.

Overrides TamperPluginTestBase::instantiatePlugin

File

tests/src/Unit/Plugin/Tamper/CastToIntTest.php, line 18

Class

CastToIntTest
Tests the cast to int plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

protected function instantiatePlugin() {
  return new CastToInt([], 'cast_to_int', [], $this
    ->getMockSourceDefinition());
}