@Test public void getApplicationDomainsTest() throws URISyntaxException { ArtifactCoordinates applicationCoordinates = new ArtifactCoordinates(GROUP_ID, ARTIFACT_ID, VERSION); List<BundleDependency> applicationDependencies = mock(List.class); DomainBundleProjectValidator validatorSpy = spy(validator); doReturn(applicationDependencies).when(validatorSpy).resolveApplicationDependencies(applicationCoordinates); validatorSpy.getApplicationDomains(applicationCoordinates); verify(validatorSpy, times(1)).resolveApplicationDependencies(applicationCoordinates); verify(validatorSpy, times(1)).getMuleDomains(applicationDependencies); }
protected Set<ArtifactCoordinates> getApplicationDomains(ArtifactCoordinates applicationCoordinates) { List<BundleDependency> applicationDependencies = resolveApplicationDependencies(applicationCoordinates); return getMuleDomains(applicationDependencies); }
DomainBundleProjectValidator extends AbstractProjectValidator { protected Set<ArtifactCoordinates> getApplicationDomains(ArtifactCoordinates applicationCoordinates) { List<BundleDependency> applicationDependencies = resolveApplicationDependencies(applicationCoordinates); return getMuleDomains(applicationDependencies); } }
DomainBundleProjectValidator extends AbstractProjectValidator { protected Set<ArtifactCoordinates> getApplicationDomains(ArtifactCoordinates applicationCoordinates) { List<BundleDependency> applicationDependencies = resolveApplicationDependencies(applicationCoordinates); return getMuleDomains(applicationDependencies); } DomainBundleProjectValidator(ProjectInformation defaultProjectInformation,
                                      AetherMavenClient aetherMavenClient); }
DomainBundleProjectValidator extends AbstractProjectValidator { protected Set<ArtifactCoordinates> getApplicationDomains(ArtifactCoordinates applicationCoordinates) { List<BundleDependency> applicationDependencies = resolveApplicationDependencies(applicationCoordinates); return getMuleDomains(applicationDependencies); } DomainBundleProjectValidator(ProjectInformation defaultProjectInformation,
                                      AetherMavenClient aetherMavenClient);  }
DomainBundleProjectValidator extends AbstractProjectValidator { protected Set<ArtifactCoordinates> getApplicationDomains(ArtifactCoordinates applicationCoordinates) { List<BundleDependency> applicationDependencies = resolveApplicationDependencies(applicationCoordinates); return getMuleDomains(applicationDependencies); } DomainBundleProjectValidator(ProjectInformation defaultProjectInformation,
                                      AetherMavenClient aetherMavenClient);   }