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

testProtectedApiCreateMessageProtocol_AcceptsMessageProtocol() public method

    public function testProtectedApiCreateMessageProtocol_AcceptsMessageProtocol()
    {
        $channel = $this->createChannel();
        $message = new Protocol();
        $result = $this->callProtectedMethod($channel, 'createMessageProtocol', [$message]);
        $this->assertSame($message, $result);
    }
ChannelTest