use of com.synopsys.integration.alert.provider.blackduck.processor.model.PolicyOverrideUniquePolicyNotificationContent in project hub-alert by blackducksoftware.
the class PolicyOverrideNotificationMessageExtractorTest method createPolicyOverrideUniquePolicyNotificationContent.
private PolicyOverrideUniquePolicyNotificationContent createPolicyOverrideUniquePolicyNotificationContent() {
String projectName = "Project";
String projectVersionName = "ProjectVersionName";
String projectVersion = "http://projectVersionUrl";
String componentName = COMPONENT.getValue();
String componentVersionName = COMPONENT_VERSION.getValue();
String firstName = "firstName";
String lastName = "lastName";
String policy = "http://policyUrl";
String bomComponentVersionPolicyStatus = "BomComponentVersionPolicyStatus";
String bomComponent = "http://bomComponentUrl";
PolicyInfo policyInfo = new PolicyInfo();
policyInfo.setPolicyName(COMPONENT_POLICY.getPolicyName());
return new PolicyOverrideUniquePolicyNotificationContent(projectName, projectVersionName, projectVersion, componentName, componentVersionName, firstName, lastName, policyInfo, policy, bomComponentVersionPolicyStatus, bomComponent);
}
Aggregations