public function CliAccesWithShortArgumentsBuildsCorrectRequest()
{
$methodParameters = ['a' => ['optional' => false, 'type' => 'string'], 'd' => ['optional' => false, 'type' => 'string'], 'f' => ['optional' => false, 'type' => 'string']];
$this->mockCommandManager->expects($this->once())->method('getCommandMethodParameters')->with('Acme\\Test\\Command\\DefaultCommandController', 'listCommand')->will($this->returnValue($methodParameters));
$request = $this->requestBuilder->build('acme.test:default:list -d valued -f=valuef -a = valuea');
$this->assertTrue($request->hasArgument('d'), 'The given "d" was not found in the built request.');
$this->assertTrue($request->hasArgument('f'), 'The given "f" was not found in the built request.');
$this->assertTrue($request->hasArgument('a'), 'The given "a" was not found in the built request.');
$this->assertSame($request->getArgument('d'), 'valued', 'The "d" had not the given value.');
$this->assertSame($request->getArgument('f'), 'valuef', 'The "f" had not the given value.');
$this->assertSame($request->getArgument('a'), 'valuea', 'The "a" had not the given value.');
}