public function testApiStop_CallsStopOnModel() { $channel = $this->createChannel(); $model = $this->createModel(); $model->expects($this->once())->method('stop'); $channel->stop(); }