Google\Cloud\Tests\Snippets\Datastore\Query\QueryTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $mapper = new EntityMapper('my-awesome-project', true, false);
        $this->datastore = new DatastoreClient();
        $this->connection = $this->prophesize(ConnectionInterface::class);
        $this->operation = new \OperationStub($this->connection->reveal(), 'my-awesome-project', '', $mapper);
        $this->query = new Query($mapper);
    }