Kraken\_Unit\Runtime\RuntimeModelTest::testProtectedApiSetLoopState_ThrowsException_WhenNewStateIsInvalid PHP Method

testProtectedApiSetLoopState_ThrowsException_WhenNewStateIsInvalid() public method

    public function testProtectedApiSetLoopState_ThrowsException_WhenNewStateIsInvalid()
    {
        $runtime = $this->createModel();
        $state = 'InvalidState';
        $this->setExpectedException(LogicException::class);
        $this->callProtectedMethod($runtime, 'setLoopState', [$state]);
    }
RuntimeModelTest