You are here

protected function FormSubmitterTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 43
Contains \Drupal\Tests\Core\Form\FormSubmitterTest.

Class

FormSubmitterTest
@coversDefaultClass \Drupal\Core\Form\FormSubmitter @group Form

Namespace

Drupal\Tests\Core\Form

Code

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