public function handleStoresTheActionRequestInTheComponentContext() { $this->mockHttpRequest->expects($this->any())->method('getArguments')->will($this->returnValue([])); $this->mockPropertyMapper->expects($this->any())->method('convert')->with('', 'array', $this->mockPropertyMappingConfiguration)->will($this->returnValue([])); $this->mockComponentContext->expects($this->atLeastOnce())->method('setParameter')->with(DispatchComponent::class, 'actionRequest', $this->mockActionRequest); $this->dispatchComponent->handle($this->mockComponentContext); }