### Question:
ProgressServiceValidator extends DefaultRequestValidator<ServiceRequest<ProgressSummaryRequest>> { @Override public void validatePOST(ServiceRequest<ProgressSummaryRequest> request) { super.validatePOST(request); if (request.getPayload() == null) throw new ValidationException("LinkId is required to call getProgressSummary."); if (StringUtils.isBlank(request.getPayload().getLinkId())) { throw new ValidationException("LinkId is required to call getProgressSummary."); } }  @Override void validatePOST(ServiceRequest<ProgressSummaryRequest> request);  }### Answer:
@Test(dataProvider = "missingLinkIdProvider", expectedExceptions = ValidationException.class, expectedExceptionsMessageRegExp = ".*LinkId is required.*") public void testMissingLinkId(ProgressSummaryRequest request) { validator.validatePOST(new DefaultServiceRequest<>(request)); }