eZ\Publish\Core\Limitation\Tests\ParentDepthLimitationTypeTest::testValidatePass PHP Method

testValidatePass() public method

public testValidatePass ( eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation $limitation, ParentDepthLimitationType $limitationType )
$limitation eZ\Publish\API\Repository\Values\User\Limitation\ParentDepthLimitation
$limitationType eZ\Publish\Core\Limitation\ParentDepthLimitationType
    public function testValidatePass(ParentDepthLimitation $limitation, ParentDepthLimitationType $limitationType)
    {
        $validationErrors = $limitationType->validate($limitation);
        self::assertEmpty($validationErrors);
    }