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