public function test_build_from_auth_array()
 {
     $action = new ActionAuthorization('toto', 4);
     $action->build_from_auth_array(array('r1' => 4, 'r0' => 4, 'm1' => 4));
     self::assertEquals(new RolesAuthorizations(array('r1' => 1, 'r0' => 1, 'm1' => 1)), $action->get_roles_auths());
 }