mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-15 01:28:42 +00:00
d81bcbd208
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1586 48356398-32a2-884e-a903-53898d9a118a
18 lines
462 B
PHP
18 lines
462 B
PHP
<?php
|
|
|
|
class HTMLPurifier_ConfigSchema_ValidatorHarness extends UnitTestCase
|
|
{
|
|
|
|
protected $interchange, $validator;
|
|
|
|
public function setup() {
|
|
generate_mock_once('HTMLPurifier_ConfigSchema_Interchange');
|
|
$this->interchange = new HTMLPurifier_ConfigSchema_InterchangeMock();
|
|
}
|
|
|
|
protected function expectSchemaException($msg) {
|
|
$this->expectException(new HTMLPurifier_ConfigSchema_Exception($msg));
|
|
}
|
|
|
|
}
|