# File test/test_connection.rb, line 252 def test_publish_two_messages conn_subscribe make_destination @conn.publish make_destination, "a\0" @conn.publish make_destination, "b\0" msg_a = @conn.receive msg_b = @conn.receive assert_equal "a\0", msg_a.body assert_equal "b\0", msg_b.body checkEmsg(@conn) end