/**
* @test
*/
public function processRequestResetsCommandMethodArguments()
{
$mockRequest = $this->getMockBuilder(Request::class)->disableOriginalConstructor()->getMock();
$mockResponse = $this->getMockBuilder(Mvc\ResponseInterface::class)->getMock();
$mockArguments = new Arguments();
$mockArguments->addNewArgument('foo');
$this->inject($this->commandController, 'arguments', $mockArguments);
$this->assertCount(1, $this->commandController->_get('arguments'));
$this->commandController->processRequest($mockRequest, $mockResponse);
$this->assertCount(0, $this->commandController->_get('arguments'));
}