assertThat(resolvedDependency.getParents(), equalTo(Collections.<ResolvedDependency>emptySet()));
}
@Test
public void getAllModuleArtifacts() {
ResolvedArtifact moduleArtifact = createArtifact("moduleArtifact");
ResolvedArtifact childModuleArtifact = createArtifact("childModuleArtifact");
DefaultResolvedDependency resolvedDependency = new DefaultResolvedDependency(newId("someGroup", "someName", "someVersion"), "someConfiguration");
resolvedDependency.addModuleArtifact(moduleArtifact);
DefaultResolvedDependency childDependency = new DefaultResolvedDependency(newId("someGroup", "someChild", "someVersion"), "someChildConfiguration");
childDependency.addModuleArtifact(childModuleArtifact);
resolvedDependency.getChildren().add(childDependency);