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

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

    public function testProtectedApiCreateMessageProtocol_AcceptsNull()
    {
        $channel = $this->createChannel();
        $message = null;
        $result = $this->callProtectedMethod($channel, 'createMessageProtocol', [$message]);
        $this->assertInstanceOf(Protocol::class, $result);
        $this->assertSame('', $result->getMessage());
    }
ChannelTest