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

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

    public function testApiPull_PullsMessage()
    {
        $name = 'name';
        $protocol = new Protocol();
        $channel = $this->createChannel(['emit']);
        $channel->expects($this->once())->method('emit')->with('input', [$name, $protocol]);
        $channel->pull($name, $protocol);
    }
ChannelTest