allowed.add("post");
ExtendedPropertyMetadata metadata = new ExtendedPropertyMetadata("x", "java.lang.String","{$display:\"Is Immu:table\",$description:\"True if the, source never changes.\",$allowed:[\"get\",\"post\"], $required:\"true\",$advanced:\"true\"}", null);
Assert.assertEquals("Is Immu:table", metadata.display());
Assert.assertEquals("True if the, source never changes.", metadata.description());
Assert.assertEquals(true, metadata.advanced());
Assert.assertEquals(true, metadata.required());
Assert.assertEquals(false, metadata.masked());
Assert.assertEquals(true , metadata.readOnly());
Assert.assertEquals(allowed , Arrays.asList(metadata.allowed()));