public function testAssignSectionToContent() { $this->insertDatabaseFixture(__DIR__ . '/../../_fixtures/contentobjects.php'); $gateway = $this->getDatabaseGateway(); $beforeCount = $gateway->countContentObjectsInSection(4); $result = $gateway->assignSectionToContent(4, 10); $this->assertSame($beforeCount + 1, $gateway->countContentObjectsInSection(4)); }