serverChangesGet('localhost', null, null, 'super'); $not_super = array_filter($changes_commands, function($c) { return $c->getUser() != 'super'; }); assert(count($not_super) == 0);