Kraken\_Unit\Channel\ChannelTest::testApiIsStopped_CallsModelMethod PHP Method

testApiIsStopped_CallsModelMethod() public method

    public function testApiIsStopped_CallsModelMethod()
    {
        $channel = $this->createChannel();
        $model = $this->createModel();
        $status = true;
        $model->expects($this->once())->method('isStopped')->will($this->returnValue($status));
        $this->assertSame($status, $channel->isStopped());
    }
ChannelTest