public function testGroupList() { // recuperation de la liste de tous les groupes $list = jAclDbUserGroup::getGroupList()->fetchAll(); $verif = '<array> <object> <string property="id_aclgrp" value="' . $this->grpId1 . '" /> <string property="name" value="group1" /> <string property="grouptype" value="0" /> <null property="ownerlogin"/> </object> <object> <string property="id_aclgrp" value="' . $this->grpId2 . '" /> <string property="name" value="group2" /> <string property="grouptype" value="1" /> <null property="ownerlogin"/> </object> <object> <string property="id_aclgrp" value="' . $this->grpId3 . '" /> <string property="name" value="newgroup3" /> <string property="grouptype" value="0" /> <null property="ownerlogin"/> </object> </array>'; $this->assertComplexIdenticalStr($list, $verif); }