Google\Cloud\Tests\Snippets\Datastore\Query\QueryTest::testDistinctOn PHP Метод

testDistinctOn() публичный Метод

public testDistinctOn ( )
    public function testDistinctOn()
    {
        $snippet = $this->snippetFromMethod(Query::class, 'distinctOn');
        $snippet->addLocal('query', $this->query);
        $snippet->invoke();
        $this->assertEquals('lastName', $this->query->queryObject()['distinctOn'][0]['name']);
    }