Kraken\_Unit\Runtime\Command\Cmd\CmdErrorCommandTest::testApiCommand_ThrowsException_WhenContextParamMessageDoesNotExist PHP Метод

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

    public function testApiCommand_ThrowsException_WhenContextParamMessageDoesNotExist()
    {
        $this->setExpectedException(RejectionException::class);
        $command = $this->createCommand();
        $this->callProtectedMethod($command, 'command', [['exception' => 'exception', 'origin' => 'origin']]);
    }