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']);
}