public function __construct(EventDispatcherInterface $dispatcher, MatchersCollection $matchers, MockerInterface $mocker, ArgumentsUnwrapper $unwrapper) { $this->eventDispatcher = $dispatcher; $this->matchers = $matchers; $this->mocker = $mocker; $this->unwrapper = $unwrapper; }