config) $this->config = HTMLPurifier_Config::createDefault(); $result = $this->def->validate($string, $this->config, $this->id_accumulator); if ($expect === true) { $this->assertIdentical($string, $result); } else { $this->assertIdentical($expect, $result); } } } ?>