protected function FormSubmitterTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php \Drupal\Tests\Core\Form\FormSubmitterTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ Form/ FormSubmitterTest.php, line 38
Class
- FormSubmitterTest
- @coversDefaultClass \Drupal\Core\Form\FormSubmitter @group Form
Namespace
Drupal\Tests\Core\FormCode
protected function setUp() : void {
parent::setUp();
$this->urlGenerator = $this
->createMock(UrlGeneratorInterface::class);
$this->unroutedUrlAssembler = $this
->createMock(UnroutedUrlAssemblerInterface::class);
}