public function testFilter()
{
$snippet = $this->snippetFromMethod(Query::class, 'filter');
$snippet->addLocal('query', $this->query);
$snippet->invoke();
$this->assertEquals(2, count($this->query->queryObject()['filter']['compositeFilter']['filters']));
}