### Question:
CustomWorkflowValidation implements ValidationRule { @Override public ValidationInformation validate(ValidationInformation info) throws ValidationException { RequestParameters requestParameters = info.getSir().getRequestDetails().getRequestParameters(); if (requestParameters == null) { throw new ValidationException("requestParameters"); } return info; }  @Override ValidationInformation validate(ValidationInformation info);  }### Answer:
@Test public void testCustomWorkflowValidation() throws IOException, ValidationException { String requestJson = new String(Files.readAllBytes( Paths.get("src/test/resources/MsoRequestTest/SuccessfulValidation/v1ExecuteCustomWorkflow.json"))); ObjectMapper mapper = new ObjectMapper(); ServiceInstancesRequest sir = mapper.readValue(requestJson, ServiceInstancesRequest.class); ValidationInformation info = new ValidationInformation(sir, new HashMap<String, String>(), Action.inPlaceSoftwareUpdate, 1, false, sir.getRequestDetails().getRequestParameters()); info.setRequestScope("vnf"); CustomWorkflowValidation validation = new CustomWorkflowValidation(); validation.validate(info); assertEquals(info.getSir().getRequestDetails().getCloudConfiguration().getCloudOwner(), "att-aic"); }