public function testApiGetLoop_ReturnsLoop_WhenLoopDoesExist()
{
$loop = $this->getMock(Loop::class, [], [], '', false);
$runtime = $this->createModel();
$this->setProtectedProperty($runtime, 'loop', $loop);
$this->assertSame($loop, $runtime->getLoop());
}