assertTrue(contentId != -1);
BlockingGetContentResponseHandler getContentResponseHandler = new BlockingGetContentResponseHandler();
getClient().getContent(contentId, getContentResponseHandler);
ByteArrayInputStream bis = new ByteArrayInputStream(getContentResponseHandler.getContent().getContent());
ObjectInputStream in = new ObjectInputStream(bis);
Map<String, Object> data = (Map<String, Object>) in.readObject();
in.close();
//Checking that the input parameters are being copied automatically if the Content Element doesn't exist
assertEquals("MyObjectValue", ((MyObject)data.get("MyObject")).getValue());
assertEquals("10", data.get("Priority"));
assertEquals("MyObjectValue", ((MyObject)((Map<String, Object>)data.get("MyMap")).get("MyObjectInsideTheMap")).getValue());