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

testLookupWithReadOptionsFromReadConsistency() public method

    public function testLookupWithReadOptionsFromReadConsistency()
    {
        $this->connection->lookup(Argument::withKey('readOptions'))->shouldBeCalled()->willReturn([]);
        $this->operation->setConnection($this->connection->reveal());
        $k = new Key('test-project', ['path' => [['kind' => 'kind', 'id' => '123']]]);
        $this->operation->lookup([$k], ['readConsistency' => 'foo']);
    }