assertThat(configuration.getFiles(Specs.SATISFIES_ALL), equalTo(toLinkedSet(file)));
}
@Test
public void addsFilesFromSelfResolvingDependenciesBeforeFilesFromResolvedConfiguration() {
final DependencyInternal dependency = context.mock(DependencyInternal.class);
context.checking(new Expectations() {{
one(delegate).resolve(configuration, ivy, moduleDescriptor);
will(returnValue(resolvedConfiguration));
allowing(configuration).getAllDependencies(DependencyInternal.class);