@@ -0,0 +1,1347 @@
+package org.simpleframework.xml.core;%0A%0Aimport java.util.EnumSet;%0Aimport java.util.Set;%0A%0Aimport org.simpleframework.xml.ElementList;%0Aimport org.simpleframework.xml.Root;%0Aimport org.simpleframework.xml.ValidationTestCase;%0A%0Apublic class EnumSetTest extends ValidationTestCase %7B%0A   %0A   private static enum Qualification %7B%0A      BEGINNER,%0A      EXPERIENCED,%0A      EXPERT,%0A      GURU%0A   %7D%0A   %0A   @Root%0A   private static class EnumSetExample %7B%0A      %0A      @ElementList%0A      private EnumSet%3CQualification%3E set = EnumSet.noneOf(Qualification.class);%0A      %0A      public EnumSetExample() %7B%0A         super();%0A      %7D%0A      %0A      public void add(Qualification qualification) %7B%0A         set.add(qualification);%0A      %7D%0A      %0A      public boolean contains(Qualification qualification) %7B%0A         return set.contains(qualification);%0A      %7D%0A   %7D%0A   %0A   public void testEnumSet() throws Exception %7B%0A      Persister persister = new Persister();%0A      EnumSetExample example = new EnumSetExample();%0A      %0A      example.add(Qualification.BEGINNER);%0A      example.add(Qualification.EXPERT);%0A      %0A      assertTrue(example.contains(Qualification.BEGINNER));%0A      assertTrue(example.contains(Qualification.EXPERT));%0A      assertFalse(example.contains(Qualification.GURU));%0A%0A      persister.write(example, System.out);%0A      validate(persister, example);%0A   %7D%0A%0A%7D%0A

Add enum set test