BeanSerializer instance = new BeanSerializer();
MockObject mock = new MockObject();
JSONValueObject jsonobject = new JSONValueObject();
jsonobject.put("key1", "value1");
jsonobject.put("list", LIST);
jsonobject.put("object", mock);
Map<String, Object> mapobject = new HashMap<String, Object>();
mapobject.put("uid", jsonobject.getUid());
mapobject.put("key1", "value1");
mapobject.put("list", LIST);
mapobject.put("object", mock);
MockBean bean = new MockBean();
bean.setUid(jsonobject.getUid());
bean.setKey1("value1");
bean.setList(LIST);
bean.setObject(mock);
JSONObject jsonresult = instance.serialize(jsonobject);