Kraken\_Unit\Runtime\Command\Processes\ProcessesGetCommandTest::testApiCommand_InvokesProperAction PHP Метод

testApiCommand_InvokesProperAction() публичный Метод

    public function testApiCommand_InvokesProperAction()
    {
        $result = new StdClass();
        $command = $this->createCommand();
        $manager = $this->createManager();
        $manager->expects($this->once())->method('getProcesses')->will($this->returnValue($result));
        $this->assertSame($result, $this->callProtectedMethod($command, 'command', []));
    }
ProcessesGetCommandTest