public void testDifferentAnnotations() throws Exception {
   Persister persister = new Persister();
   Example example = new Example("a", "b");
   StringWriter writer = new StringWriter();
   persister.write(example, writer);
   String text = writer.toString();
   Example deserialized = persister.read(Example.class, text);
   assertEquals(deserialized.getKey(), "a");
   assertEquals(deserialized.getValue(), "b");
   validate(persister, deserialized);
 }