Google\Cloud\Tests\Datastore\EntityMapperTest::testConvertValueBlobNotEncoded PHP Method

testConvertValueBlobNotEncoded() public method

    public function testConvertValueBlobNotEncoded()
    {
        $type = 'blobValue';
        $val = 'hello world';
        $res = $this->mapper->convertValue($type, $val);
        $this->assertInstanceOf(Blob::class, $res);
        $this->assertEquals('hello world', (string) $res);
    }