# File test/test_connection1p.rb, line 401 def test_conn_1p_0210 msg = "payload: #{Time.now.to_f}" dest = make_destination shdrs = { :suppress_content_length => true } assert_nothing_raised { @conn.publish dest, msg, shdrs } # sid = @conn.uuid() @conn.subscribe dest, :id => sid # received = @conn.receive assert_equal msg, received.body assert_nil received.headers["content-length"], "No content length expected." end