public function testCountContentObjectsInSection() { $this->insertDatabaseFixture(__DIR__ . '/../../_fixtures/contentobjects.php'); $gateway = $this->getDatabaseGateway(); $result = $gateway->countContentObjectsInSection(2); $this->assertSame(7, $result); }