public static void testStringProperties() throws Exception {
PropertyConverter c = new PropertyConverters.StringProperties();
String value = "com.sun.security.sasl.digest.realm=MyRealm,qop=true";
Map<String, String> map = (Map<String, String>) c.convert(null, Map.class, "props", value, false);
assert map.size() == 2;
assert map.get("qop").equals("true");
assert map.get("com.sun.security.sasl.digest.realm").equals("MyRealm");
}