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());
}