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

testCheckOverwriteWithException() public method

    public function testCheckOverwriteWithException()
    {
        $e = $this->prophesize(Entity::class);
        $e->populatedByService()->willReturn(false);
        $e->key()->willReturn('foo');
        $this->operation->checkOverwrite([$e->reveal()]);
    }