return json;
}
public void testParseJMSInfo() {
JSONObject json = createJMSInfoJSONObject();
JMSConnectionInfo jmsDetails = JsonToBean.createJMSConnectionInfo(json);
assertEquals("topicPrefix", jmsDetails.getTopicPrefix());
assertEquals("wfTopic", jmsDetails.getTopicPattern(AppType.WORKFLOW_JOB));
assertEquals("wfTopic", jmsDetails.getTopicPattern(AppType.WORKFLOW_ACTION));
assertEquals("coordTopic", jmsDetails.getTopicPattern(AppType.COORDINATOR_ACTION));
Properties jmsProps = jmsDetails.getJNDIProperties();
assertNotNull(jmsDetails.getJNDIProperties());
assertEquals("v1", jmsProps.get("k1"));
assertEquals("v2", jmsProps.get("k2"));
}