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