3 class HTMLPurifier_StringHashTest
extends UnitTestCase
7 $hash = new HTMLPurifier_StringHash(array(
11 $this->assertIdentical($hash->getAccessed(), array());
12 $t = $hash->offsetGet('key');
13 $this->assertIdentical($hash->getAccessed(), array('key' => true));
14 $hash->resetAccessed();
15 $this->assertIdentical($hash->getAccessed(), array());