eZ\Publish\Core\Limitation\Tests\SiteAccessLimitationTypeTest::testValidateError PHP Метод

testValidateError() публичный Метод

public testValidateError ( eZ\Publish\API\Repository\Values\User\Limitation\SiteAccessLimitation $limitation, integer $errorCount, SiteAccessLimitationType $limitationType )
$limitation eZ\Publish\API\Repository\Values\User\Limitation\SiteAccessLimitation
$errorCount integer
$limitationType eZ\Publish\Core\Limitation\SiteAccessLimitationType
    public function testValidateError(SiteAccessLimitation $limitation, $errorCount, SiteAccessLimitationType $limitationType)
    {
        $validationErrors = $limitationType->validate($limitation);
        self::assertCount($errorCount, $validationErrors);
    }