public function createChannelModelFactory() { $this->name = 'name'; $this->loop = $this->getMock(Loop::class, [], [], '', false); return new ChannelModelFactory($this->name, $this->loop); }