Ejemplo n.º 1
0
 /**
  * Test
  *
  * @return void
  */
 public function testSave()
 {
     $permissions = $this->object->getUserPermissions();
     $array = array();
     foreach ($permissions as $typeName => $typeValues) {
         $array += $typeValues;
     }
     $this->object->setPermissions($array);
     $this->assertInternalType('integer', (int) $this->object->save());
 }