@Test
public void parseObject() throws Exception {

	Object obj = new Integer(4);
	String enc;
	try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
		try (ObjectOutputStream oos = new ObjectOutputStream(baos)) {
			oos.writeObject(obj);
		}
		enc = Base64.getEncoder().encodeToString(baos.toByteArray());
	}
	Object obj2 = XMLUtil.parseObject(enc);
	assertNotSame(obj, obj2);
	assertEquals(obj, obj2);
}