$:.push File.expand_path("../../lib", __FILE__) require 'helix_web_services_client' require_relative './util/test_config' require_relative './util/string_utils' require 'pp' api = api_as_jdoe rand = random_string has_error = false begin api.server_commands_command_get('localhost', 'files', arg: ['-i']) rescue HelixWebServices::ApiError => e has_error = true end unless has_error raise 'no exception raised on missing argument' end