Kraken\_Unit\Channel\ChannelTest::testApiIsStarted_CallsModelMethod PHP Метод

testApiIsStarted_CallsModelMethod() публичный Метод

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