@Test public void licenseResolverTest() { licenseResolver.process(artifacts); assertThat(artifacts.size()).isEqualTo(3); assertThat(ArtifactLicenseUtils.getFinalLicenses(artifacts.get(0))) .isNotEqualTo(configuredLicense); assertThat(ArtifactLicenseUtils.getFinalLicenses(artifacts.get(1))) .isEqualTo(configuredLicense); }
public LicenseResolver() { this.workflowStepOrder = 500; }
LicenseResolver extends AbstractProcessor { public LicenseResolver() { this.workflowStepOrder = 500; } }
LicenseResolver extends AbstractProcessor { public LicenseResolver() { this.workflowStepOrder = 500; } LicenseResolver(); }
LicenseResolver extends AbstractProcessor { public LicenseResolver() { this.workflowStepOrder = 500; } LicenseResolver(); @Override Collection<Artifact> process(Collection<Artifact> artifacts); @Override void configure(Map<String,String> configMap); }
LicenseResolver extends AbstractProcessor { public LicenseResolver() { this.workflowStepOrder = 500; } LicenseResolver(); @Override Collection<Artifact> process(Collection<Artifact> artifacts); @Override void configure(Map<String,String> configMap);  }