// now make one field allow html characters
Bbb bbb = new Bbb();
bbb.setaValue("aaa-value");
bbb.setbValue("bbb-value");
Two twoObject = new Two();
twoObject.setOneValue("allow html: <img src=\"http://something.com/\" />");
twoObject.setTwoValue("interesting image: <img src=\"http://something.com/\" />");
twoObject.setBbb(bbb);
String stringedTwo = xstream.toXML(twoObject);
Two copyOfTwo = (Two) xstream.fromXML(stringedTwo);
Assert.assertEquals("interesting image: <img src="http://something.com/" />",
copyOfTwo.getTwoValue());
Assert.assertEquals("allow html: <img src=\"http://something.com/\" />", copyOfTwo.getOneValue());
}