public function testProtectedApiStartLoop_DoesNothing_WhenNextStateIsStopped() { $runtime = $this->createModel([], ['getLoop']); $runtime->expects($this->never())->method('getLoop'); $this->callProtectedMethod($runtime, 'startLoop'); }