### Question:
EvolutionConfig { public boolean handleProperty(String name) { for (String entry : ignoreProperties) { if (Pattern.matches(entry, name)) { return false; } } return true; } EvolutionConfig(String[] ignoreProperties, String[] ignoreResources); boolean handleProperty(String name); boolean handleResource(String name); static String printProperty(javax.jcr.Property property); static String printObject(Object obj);  }### Answer:
@Test public void testHandleProperties() { String[] ignoreProps = { "jcr:.*", "cq:.*", "par/cq:.*" }; String[] ignoreRes = {}; EvolutionConfig config = new EvolutionConfig(ignoreProps, ignoreRes); assertEquals(false, config.handleProperty("jcr:title")); assertEquals(true, config.handleProperty("test/jcr:title")); assertEquals(false, config.handleProperty("cq:name")); assertEquals(true, config.handleProperty("test/cq:name")); assertEquals(false, config.handleProperty("par/cq:name")); }