Google\Cloud\Tests\Datastore\OperationTest::testEntity PHP Method

testEntity() public method

public testEntity ( )
    public function testEntity()
    {
        $key = $this->prophesize(Key::class);
        $e = $this->operation->entity($key->reveal());
        $this->assertInstanceOf(Entity::class, $e);
    }