public function testCountInstancesOfTypeExist() { $this->insertDatabaseFixture(__DIR__ . '/../../_fixtures/contentobjects.php'); $gateway = $this->getGateway(); $res = $gateway->countInstancesOfType(3, 0); $this->assertEquals(6, $res); }