public void testDefaults() throws Exception {
String persons = getPersons();
InputSource isource = new InputSource(new StringReader(persons));
JAXBContext context =
JAXBContext.newInstance("org.apache.ws.jaxme.test.misc.defaults");
Persons unmarshalledPersons =
(Persons) context.createUnmarshaller().unmarshal(isource);
List personList = unmarshalledPersons.getPerson();
Iterator i = personList.iterator();
i.hasNext();
PersonType person = (PersonType) i.next();
NameType name = person.getName();
assertEquals("Anonymous", name.getFirst());