# File test/test_helper.rb, line 115 def get_client() hash = { :hosts => [ {:login => user, :passcode => passcode, :host => host, :port => port}, ], :connect_headers => get_conn_headers(), :stompconn => get_stomp_conn(), :usecrlf => get_crlf(), } client = Stomp::Client.new(hash) client end