Kraken\_Unit\Channel\ChannelModelFactoryTest::createChannelModelFactory PHP Method

createChannelModelFactory() public method

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