assertThat(projectDependency.getProjectConfiguration(), sameInstance(projectConfigurationStub));
}
@Test
public void resolveDelegatesToAllSelfResolvingDependenciesInTargetConfiguration() {
final DependencyResolveContext resolveContext = context.mock(DependencyResolveContext.class);
final Dependency projectSelfResolvingDependency = context.mock(Dependency.class);
final ProjectDependency transitiveProjectDependencyStub = context.mock(ProjectDependency.class);
context.checking(new Expectations() {{
allowing(projectConfigurationsStub).getByName("conf1");
will(returnValue(projectConfigurationStub));