Commit 45a2cc87 authored by Nicolas Tachker's avatar Nicolas Tachker

JORAM-272: bug fix in MapMessage.

parent 4fed3782
......@@ -23,6 +23,7 @@
package joram.rest;
import java.net.URI;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
......@@ -120,8 +121,8 @@ public class ClientRESTMapMessage extends TestCase {
String type = (String) msg.get("type");
assertEquals("receive-next-message type", "MapMessage", type);
Map jmsBody = (Map) msg.get("body");
// System.out.println("*** message = " + jmsBody);
assertEquals("receive-next-message key1", value1, jmsBody.get("key1"));
System.out.println("*** message = " + jmsBody);
assertEquals("receive-next-message key1", value1, ((ArrayList<String>)jmsBody.get("key1")).get(0));
Map jmsProperties = (Map) msg.get("properties");
// System.out.println("*** jmsProperties " + jmsProperties);
assertNotNull("receive-next-message jmsProperties", jmsProperties);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment