diff --git a/application/tests/Unit/Subscriber/SourceMenuSubscriberTest.php b/application/tests/Unit/Subscriber/SourceMenuSubscriberTest.php new file mode 100644 index 0000000..9c7e7c5 --- /dev/null +++ b/application/tests/Unit/Subscriber/SourceMenuSubscriberTest.php @@ -0,0 +1,39 @@ +subscriber = new SourceMenuSubscriber($translator); + } + + public function testOnSourceMenuConfig():void{ + $factory = $this->createMock(FactoryInterface::class); + $item = $this->createMock(ItemInterface::class); + $request = $this->createMock(RequestStack::class); + $event = new MenuEvent($factory, $item, $request); + $this->assertNull($this->subscriber->onSourceMenuConfigure($event)); + } +} + + +