public function testGetAttributeList() { $list = new CM_Dom_NodeList('<div foo="bar" bar="foo"></div>'); $this->assertSame(array('foo' => 'bar', 'bar' => 'foo'), $list->getAttributeList()); }