public function testApiRemoveStream_CallsMethodOnModel() { $loop = $this->loop; $stream = $this->createStreamMock(); $this->expect('removeStream', [$stream]); $loop->removeStream($stream); }