@Test void singleGroupEntryACLShouldBeWellDeSerialized() throws Exception { assertThatJson(MailboxACLJsonConverter.toACL("{\"entries\":{\"-$group\":\"lprstwx\"}}")) .isEqualTo(new ACLMapBuilder().addSingleGroupEntryToMap().buildAsACL()); }
public static MailboxACL toACL(String jsonACLString) throws IOException { return objectMapper.readValue(jsonACLString, MailboxACL.class); }
MailboxACLJsonConverter { public static MailboxACL toACL(String jsonACLString) throws IOException { return objectMapper.readValue(jsonACLString, MailboxACL.class); } }
MailboxACLJsonConverter { public static MailboxACL toACL(String jsonACLString) throws IOException { return objectMapper.readValue(jsonACLString, MailboxACL.class); }  }
MailboxACLJsonConverter { public static MailboxACL toACL(String jsonACLString) throws IOException { return objectMapper.readValue(jsonACLString, MailboxACL.class); }  static String toJson(MailboxACL acl); static MailboxACL toACL(String jsonACLString); }
MailboxACLJsonConverter { public static MailboxACL toACL(String jsonACLString) throws IOException { return objectMapper.readValue(jsonACLString, MailboxACL.class); }  static String toJson(MailboxACL acl); static MailboxACL toACL(String jsonACLString);  }