### Question:
XMLExportRootAdapter extends XMLObjectAdapter<List<PathfinderCharacter>> { public Element toXML(PathfinderCharacter character) { return toXML(Lists.newArrayList(character)); }  @Override String getElementName(); Element toXML(PathfinderCharacter character); static final String ELEMENT_NAME; static final String VERSION_ATTR; }### Answer:
@Test public void testImportExport() throws IOException, DocumentException { PathfinderCharacter fullCharacter = CharacterUtils.buildTestCharacter(); PathfinderCharacter defaultCharacter = PathfinderCharacter.newDefaultCharacter(""); Element element = adapter.toXML(Lists.newArrayList(fullCharacter, defaultCharacter)); List<PathfinderCharacter> characters = adapter.toObject(element); assertEquals(2, characters.size()); assertEquals(fullCharacter, characters.get(0)); assertEquals(defaultCharacter, characters.get(1)); }