public function SymfonyEventDispatcherTest::setUp in Payment 8.2
Overrides UnitTestCase::setUp
File
- tests/
src/ Unit/ SymfonyEventDispatcherTest.php, line 46
Class
- SymfonyEventDispatcherTest
- @coversDefaultClass \Drupal\payment\SymfonyEventDispatcher
Namespace
Drupal\Tests\payment\UnitCode
public function setUp() : void {
$this->symfonyEventDispatcher = $this
->createMock(EventDispatcherInterface::class);
$this->sut = new SymfonyEventDispatcher($this->symfonyEventDispatcher);
}