Prepended constants with C_ to avoid reserved words as per https://www.php.net/manual...
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / TokenFactoryTest.php
blob8454b5a2dff2ea77427057662723a16b573cba72
1 <?php
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);
17 // vim: et sw=4 sts=4