public function testGetContentCount() { $gateway = $this->getDatabaseGateway(); $result = $gateway->getContentCount(1); // 185 is the number of objects in the fixture $this->assertEquals(185, $result); }