String maskedKey = Masked.class.getName();
log.info(masked1.getAnnotations().keySet());
assertTrue(masked1.hasAnnotation(maskedKey));
Masked masked1Ann = (Masked) masked1.getAnnotations().get(maskedKey);
assertNotNull(masked1Ann);
String[] masked1Opts = masked1Ann.options();
assertEquals(2, masked1Opts.length);
assertEquals("hashAlgorithm", masked1Opts[0]);
assertEquals("MD5", masked1Opts[1]);
ManagedProperty masked2 = managedObject.getProperty("masked2");