eZ\Publish\Core\Persistence\Legacy\Tests\Content\Section\Gateway\DoctrineDatabaseTest::testCountContentObjectsInSection PHP Method

testCountContentObjectsInSection() public method

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