if( !(msg instanceof WampPublishMessage) )
fail("Wrong message type");
assertEquals(WampMessage.PUBLISH, msg.getMessageType());
WampPublishMessage pMsg = (WampPublishMessage)msg;
assertEquals("event:myevent1", pMsg.getTopicId());
assertEquals("hello", pMsg.getEvent());
List<String> excludeList = pMsg.getExclude();
assertEquals(2, excludeList.size());
assertEquals("NwtXQ8rdfPsy-ewS", excludeList.get(0));
assertEquals("dYqgDl0FthI6_hjb", excludeList.get(1));
}