[3.1.0] Reconfigure tester to glob for test files using *Test.php pattern.
[htmlpurifier.git] / tests / HTMLPurifier / ConfigSchema / Interchange / ValidatorHarness.php
blob204a8c0aaeef290b351583927fd19c4357cb4d7f
1 <?php
3 class HTMLPurifier_ConfigSchema_Interchange_ValidatorHarness extends UnitTestCase
6 protected $validator;
7 protected $mock;
9 public function setup() {
10 generate_mock_once('HTMLPurifier_ConfigSchema_Interchange');
11 $this->mock = new HTMLPurifier_ConfigSchema_InterchangeMock();
14 protected function expectSchemaException($msg) {
15 $this->expectException(new HTMLPurifier_ConfigSchema_Exception($msg));