예제 #1
0
 public function testRemoveAttr()
 {
     $tag = new PHPricot_Nodes_Element('p', array('id' => 'foo'));
     $tag->removeAttr('id');
     $this->assertNull($tag->attr('id'));
 }