You are here

public function FunctionCallModifierTestBase::setUp in Drupal 7 to 8/9 Module Upgrader 8

Mocks an entire module, called foo, in a virtual file system.

Overrides TestBase::setUp

4 calls to FunctionCallModifierTestBase::setUp()
CToolsGetPluginsTest::setUp in tests/src/Unit/Plugin/DMU/Converter/Functions/CToolsGetPluginsTest.php
Mocks an entire module, called foo, in a virtual file system.
DBTest::setUp in tests/src/Unit/Plugin/DMU/Converter/Functions/DBTest.php
Mocks an entire module, called foo, in a virtual file system.
DisableTest::setUp in tests/src/Unit/Plugin/DMU/Converter/Functions/DisableTest.php
Mocks an entire module, called foo, in a virtual file system.
DrupalGetTitleTest::setUp in tests/src/Unit/Plugin/DMU/Converter/Functions/DrupalGetTitleTest.php
Mocks an entire module, called foo, in a virtual file system.
4 methods override FunctionCallModifierTestBase::setUp()
CToolsGetPluginsTest::setUp in tests/src/Unit/Plugin/DMU/Converter/Functions/CToolsGetPluginsTest.php
Mocks an entire module, called foo, in a virtual file system.
DBTest::setUp in tests/src/Unit/Plugin/DMU/Converter/Functions/DBTest.php
Mocks an entire module, called foo, in a virtual file system.
DisableTest::setUp in tests/src/Unit/Plugin/DMU/Converter/Functions/DisableTest.php
Mocks an entire module, called foo, in a virtual file system.
DrupalGetTitleTest::setUp in tests/src/Unit/Plugin/DMU/Converter/Functions/DrupalGetTitleTest.php
Mocks an entire module, called foo, in a virtual file system.

File

tests/src/Unit/Plugin/DMU/Converter/Functions/FunctionCallModifierTestBase.php, line 24

Class

FunctionCallModifierTestBase
Base class for testing function call modifiers.

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\Converter\Functions

Code

public function setUp() {
  parent::setUp();
  $this->plugin = $this
    ->getPlugin();
}