eZ\Publish\Core\SignalSlot\Tests\ServiceTest::getSignalSlotService PHP Method

getSignalSlotService() abstract protected method

Returns an instance of the SignalSlot service to test.
abstract protected getSignalSlotService ( mixed $innerService, SignalDispatcher $dispatcher ) : object
$innerService mixed mock of the inner service used by the signal slot one used to test whether the original method is called is correctly called.
$dispatcher eZ\Publish\Core\SignalSlot\SignalDispatcher mock of the dispatcher used to test whether the emit method is correctly called
return object An instance of the SignalSlot service
    protected abstract function getSignalSlotService($innerService, SignalDispatcher $dispatcher);