eZ\Publish\Core\Persistence\Legacy\Tests\Content\Section\Gateway\DoctrineDatabaseTest::testCountRoleAssignmentsUsingSection PHP 메소드

testCountRoleAssignmentsUsingSection() 공개 메소드

    public function testCountRoleAssignmentsUsingSection()
    {
        $this->insertDatabaseFixture(__DIR__ . '/../../../User/_fixtures/roles.php');
        $gateway = $this->getDatabaseGateway();
        $result = $gateway->countRoleAssignmentsUsingSection(2);
        $this->assertSame(1, $result);
    }