myBean.getList().add("list2");
myBean.setMap(new HashMap<String, String>());
myBean.getMap().put("key1", "value1");
myBean.getMap().put("key2", "value2");
myBean.setName("myname");
Representation rep = new GwtConverter().toRepresentation(myBean, null,
null);
assertNotNull(rep);
String test = rep.getText();
System.out.println(test);