/** * @test */ public function findAll() { $this->assertEquals(2, $this->fixture->getObjectCountByQuery(self::$testDatabaseTable, array())); }
/** * Returns the number of items matching the query * * @param QueryInterface|array $query * @return integer * @api */ public function getObjectCountByQuery($query) { return $this->backend->getObjectCountByQuery($this->getSourceIdentifier(), $query); }