eZ\Publish\Core\Persistence\Legacy\Tests\Content\Section\SectionHandlerTest::testCountRoleAssignmentsUsingSection PHP Method

testCountRoleAssignmentsUsingSection() public method

    public function testCountRoleAssignmentsUsingSection()
    {
        $handler = $this->getSectionHandler();
        $gatewayMock = $this->getGatewayMock();
        $gatewayMock->expects($this->once())->method('countRoleAssignmentsUsingSection')->with($this->equalTo(1))->will($this->returnValue(0));
        $handler->countRoleAssignmentsUsingSection(1);
    }