eZ\Publish\Core\FieldType\Tests\RichText\Normalizer\DocumentTypeDefinitionTest::testAccept PHP Метод

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

public testAccept ( string $documentElement, string $namespace, string $dtdPath, string $input )
$documentElement string
$namespace string
$dtdPath string
$input string
    public function testAccept($documentElement, $namespace, $dtdPath, $input)
    {
        $normalizer = $this->getNormalizer($documentElement, $namespace, $dtdPath);
        $this->assertTrue($normalizer->accept($input));
    }