protected function TamperPluginTestBase::setUp in Tamper 8
Overrides UnitTestCase::setUp
3 calls to TamperPluginTestBase::setUp()
- CountryToCodeTest::setUp in tests/
src/ Unit/ Plugin/ Tamper/ CountryToCodeTest.php - RequiredTest::setUp in tests/
src/ Unit/ Plugin/ Tamper/ RequiredTest.php - TransliterationTest::setUp in tests/
src/ Unit/ Plugin/ Tamper/ TransliterationTest.php
3 methods override TamperPluginTestBase::setUp()
- CountryToCodeTest::setUp in tests/
src/ Unit/ Plugin/ Tamper/ CountryToCodeTest.php - RequiredTest::setUp in tests/
src/ Unit/ Plugin/ Tamper/ RequiredTest.php - TransliterationTest::setUp in tests/
src/ Unit/ Plugin/ Tamper/ TransliterationTest.php
File
- tests/
src/ Unit/ Plugin/ Tamper/ TamperPluginTestBase.php, line 25
Class
- TamperPluginTestBase
- Base class for tamper plugin tests.
Namespace
Drupal\Tests\tamper\Unit\Plugin\TamperCode
protected function setUp() {
$this->plugin = $this
->instantiatePlugin();
$this->plugin
->setStringTranslation($this
->createMock(TranslationInterface::class));
parent::setUp();
}