obj = new HTMLPurifier_AttrTransform_Name(); } function test() { $this->assertResult( array() ); $this->assertResult( array('name' => 'free'), array('id' => 'free') ); $this->assertResult( array('name' => 'tryit', 'id' => 'tobad'), array('id' => 'tobad') ); } } ?>