public function RedirectDestinationTest::testSetBeforeGetCall in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php \Drupal\Tests\Core\Routing\RedirectDestinationTest::testSetBeforeGetCall()
- 10 core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php \Drupal\Tests\Core\Routing\RedirectDestinationTest::testSetBeforeGetCall()
@covers ::set @covers ::get
File
- core/
tests/ Drupal/ Tests/ Core/ Routing/ RedirectDestinationTest.php, line 126
Class
- RedirectDestinationTest
- @coversDefaultClass \Drupal\Core\Routing\RedirectDestination @group Routing
Namespace
Drupal\Tests\Core\RoutingCode
public function testSetBeforeGetCall() {
$this->redirectDestination
->set('/example');
$this
->assertEquals('/example', $this->redirectDestination
->get());
}