PrivilegeValidator extends DefaultValidator implements PrivilegeConstants { @Override public void propertyAdded(PropertyState after) { } PrivilegeValidator(@NotNull Root before, @NotNull Root after, @NotNull TreeProvider treeProvider); @Override void propertyAdded(PropertyState after); @Override void propertyChanged(PropertyState before, PropertyState after); @Override void propertyDeleted(PropertyState before); @Override Validator childNodeAdded(String name, NodeState after); @Override Validator childNodeChanged(String name, NodeState before, NodeState after); @Override Validator childNodeDeleted(String name, NodeState before);  }
@Test public void testPropertyAdded() { PrivilegeValidator validator = createPrivilegeValidator(); validator.propertyAdded(mock(PropertyState.class)); }