Kraken\_Unit\Runtime\Command\Container\ContainerStopCommandTest::testApiCommand_InvokesProperAction PHP Метод

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

    public function testApiCommand_InvokesProperAction()
    {
        $command = $this->createCommand();
        $runtime = $this->createRuntime(['stop']);
        $runtime->expects($this->once())->method('stop');
        $this->assertSame(null, $this->callProtectedMethod($command, 'command', []));
    }
ContainerStopCommandTest