public function CasValidatorTest::setUp in CAS 2.x
Same name and namespace in other branches
- 8 tests/src/Unit/Service/CasValidatorTest.php \Drupal\Tests\cas\Unit\Service\CasValidatorTest::setUp()
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ Service/ CasValidatorTest.php, line 45
Class
- CasValidatorTest
- CasValidator unit tests.
Namespace
Drupal\Tests\cas\Unit\ServiceCode
public function setUp() : void {
parent::setUp();
// Mock event dispatcher to dispatch events.
$this->eventDispatcher = $this
->getMockBuilder('\\Symfony\\Component\\EventDispatcher\\EventDispatcherInterface')
->disableOriginalConstructor()
->getMock();
}