Google\Cloud\Tests\Snippets\Datastore\Query\QueryTest::testFilter PHP Méthode

testFilter() public méthode

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