public void testShouldSerializeParentClass() throws Exception {
ObjectConverter os = new ObjectConverter();
BirthdayPeople people = new BirthdayPeople();
people.setBirthday(new Date());
assertTrue(os.canConvert(BirthdayPeople.class));
os.marshal(people, context, streamWriter);
String output = stringWriter.getBuffer().toString();
assertTrue(output.indexOf("date")>-1);
assertTrue(output.indexOf("name") > -1);
assertEquals(1, context.getObjects().size());