You are here

protected function FormSubmitterTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php \Drupal\Tests\Core\Form\FormSubmitterTest::setUp()
  2. 9 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\Form

Code

protected function setUp() : void {
  parent::setUp();
  $this->urlGenerator = $this
    ->createMock(UrlGeneratorInterface::class);
  $this->unroutedUrlAssembler = $this
    ->createMock(UnroutedUrlAssemblerInterface::class);
}