public function testDeleteContent() { $this->insertDatabaseFixture(__DIR__ . '/../_fixtures/contentobjects.php'); $beforeCount = $this->countContent(); $gateway = $this->getDatabaseGateway(); $gateway->deleteContent(14); $this->assertEquals(array('all' => $beforeCount - 1, 'this' => 0), array('all' => $this->countContent(), 'this' => $this->countContent(14))); }