# File test/test_anonymous.rb, line 43 def test_no_length conn_subscribe make_destination # @conn.publish make_destination, "test_stomp#test_no_length", { :suppress_content_length => true } msg = @conn.receive assert_equal "test_stomp#test_no_length", msg.body # @conn.publish make_destination, "test_stomp#test_\000_length", { :suppress_content_length => true } msg2 = @conn.receive assert_equal "test_stomp#test_", msg2.body checkEmsg(@conn) end