Neos\Flow\Tests\Unit\Cli\RequestTest::getCommandReturnsTheCommandObjectReflectingTheRequestInformation PHP Method

getCommandReturnsTheCommandObjectReflectingTheRequestInformation() public method

    public function getCommandReturnsTheCommandObjectReflectingTheRequestInformation()
    {
        $request = new Request();
        $request->setControllerObjectName(CacheCommandController::class);
        $request->setControllerCommandName('flush');
        $command = $request->getCommand();
        $this->assertEquals('neos.flow:cache:flush', $command->getCommandIdentifier());
    }