public function testProtectedApiStopLoop_StopsLoop()
{
$loop = $this->getMock(Loop::class, [], [], '', false);
$loop->expects($this->once())->method('stop');
$runtime = $this->createModel([], ['getLoop']);
$runtime->expects($this->once())->method('getLoop')->will($this->returnValue($loop));
$this->callProtectedMethod($runtime, 'stopLoop');
}