mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-15 01:28:42 +00:00
19 lines
474 B
PHP
19 lines
474 B
PHP
|
<?php
|
||
|
|
||
|
class HTMLPurifier_ConfigSchema_Interchange_ValidatorHarness extends UnitTestCase
|
||
|
{
|
||
|
|
||
|
protected $validator;
|
||
|
protected $mock;
|
||
|
|
||
|
public function setup() {
|
||
|
generate_mock_once('HTMLPurifier_ConfigSchema_Interchange');
|
||
|
$this->mock = new HTMLPurifier_ConfigSchema_InterchangeMock();
|
||
|
}
|
||
|
|
||
|
protected function expectSchemaException($msg) {
|
||
|
$this->expectException(new HTMLPurifier_ConfigSchema_Exception($msg));
|
||
|
}
|
||
|
|
||
|
}
|