assertEquals("<>&HH", s);
}
public void testCouldGetDate() throws Exception {
DateConverter dd = new DateConverter();
Date d = (Date)dd.unmarshal(TestUtils.createStreamReader("<date>20060803T090127Z</date>"), null);
Calendar cal = Calendar.getInstance();
cal.setTime(d);
assertEquals(2006, cal.get(Calendar.YEAR));
assertEquals(Calendar.AUGUST, cal.get(Calendar.MONTH));
assertEquals(3, cal.get(Calendar.DAY_OF_MONTH));