public function setUp() { $this->connection = $this->prophesize(ConnectionInterface::class); $this->operation = $this->prophesize(Operation::class); $this->datastore = new DatastoreClientStub(['projectId' => 'foo']); }