@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);
}