public function FormStateTest::setUp in Drupal 7 to 8/9 Module Upgrader 8
Mocks an entire module, called foo, in a virtual file system.
Overrides TestBase::setUp
File
- tests/
src/ Unit/ Plugin/ DMU/ Rewriter/ FormStateTest.php, line 19
Class
- FormStateTest
- @group DMU.Rewriter @covers \Drupal\drupalmoduleupgrader\Plugin\DMU\Rewriter\FormState
Namespace
Drupal\Tests\drupalmoduleupgrader\Unit\Plugin\DMU\RewriterCode
public function setUp() {
parent::setUp();
$definition = [
'properties' => [
'input' => [
'get' => 'getUserInput',
'set' => 'setUserInput',
],
],
];
$this->plugin = $this
->getPlugin([], $definition);
}