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