validator = new HTMLPurifier_ConfigSchema_Validator_Alnum('ID');
}
public function testValidate() {
$this->expectSchemaException('R&D in ID must be alphanumeric');
$arr = array('ID' => 'R&D');
$this->validator->validate($arr, $this->interchange);
}
}