Remove decorator pattern from validator; we'll only have one decorator which invokes...
[htmlpurifier.git] / tests / HTMLPurifier / ConfigSchema / ValidatorHarness.php
blob9230e20ab3fb63bba59854a77c6086e245e05c70
1 <?php
3 class HTMLPurifier_ConfigSchema_ValidatorHarness extends UnitTestCase
6 protected $interchange, $validator;
8 public function setup() {
9 generate_mock_once('HTMLPurifier_ConfigSchema_Interchange');
10 $this->interchange = new HTMLPurifier_ConfigSchema_InterchangeMock();
13 protected function expectSchemaException($msg) {
14 $this->expectException(new HTMLPurifier_ConfigSchema_Exception($msg));