You are here

protected function CountryToCodeTest::instantiatePlugin in Tamper 8

Instantiates a plugin.

Return value

\Drupal\tamper\TamperInterface A tamper plugin.

Overrides TamperPluginTestBase::instantiatePlugin

File

tests/src/Unit/Plugin/Tamper/CountryToCodeTest.php, line 26

Class

CountryToCodeTest
Tests the country to code plugin.

Namespace

Drupal\Tests\tamper\Unit\Plugin\Tamper

Code

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