3 class HTMLPurifier_TokenFactoryTest
extends HTMLPurifier_Harness
5 public function test() {
7 $factory = new HTMLPurifier_TokenFactory();
9 $regular = new HTMLPurifier_Token_Start('a', array('href' => 'about:blank'));
10 $generated = $factory->createStart('a', array('href' => 'about:blank'));
12 $this->assertIdentical($regular, $generated);