### Question:
CreateAccessValidator extends BaseAccessRightsValidator { @Override public String getLabel() { return getCheckAccessGranted() ? "Create" : "Cannot Create"; } CreateAccessValidator(Group group, Resource resource, AccessValidatorContext context, boolean checkAccessGranted); @Override ValidationResult validate(boolean simulate); @Override String getLabel();  }### Answer:
@Test public void getLabel() { assertEquals("Create", validator.getLabel()); }