actionHandlerService = self::$container->get(ActionHandlerServiceInterface::class); $this->requestedActionService = self::$container->get(RequestedActionServiceInterface::class); } public function testEnityManager(): void { $this->requestedActionService->getRequestedEntity()->setSlug(ImpressumFixtureSource::SLUG); $this->requestedActionService->setActionType(ActionType::READ); $this->requestedActionService->setLayer(LayerType::SOURCE); $this->assertInstanceOf(SourceInterface::class, $this->actionHandlerService->handle()); } }