Google\Cloud\Tests\PubSub\IncomingMessageTraitTest::testDecodeMessage PHP 메소드

testDecodeMessage() 공개 메소드

public testDecodeMessage ( )
    public function testDecodeMessage()
    {
        $message = $this->stub->call(['message' => ['data' => base64_encode('hello world')]], true);
        $this->assertEquals('hello world', $message->data());
    }