Kraken\_Unit\Console\Client\Command\Project\ProjectCreateCommandTest::testApiCommand_ReturnsCommandData PHP Method

testApiCommand_ReturnsCommandData() public method

    public function testApiCommand_ReturnsCommandData()
    {
        $command = $this->createCommand(['informServer', 'validateCreateFlags']);
        $command->expects($this->once())->method('validateCreateFlags')->will($this->returnArgument(0));
        $command->expects($this->once())->method('informServer')->with(null, 'project:create', ['flags' => 'flags']);
        $input = $this->createInputMock();
        $output = $this->createOutputMock();
        $this->callProtectedMethod($command, 'command', [$input, $output]);
    }