assertThat(settingsHandler.findAndLoadSettings(gradle, gradlePropertiesLoader), sameInstance(settings));
}
private void prepareForExistingSettings() {
final ProjectSpec projectSpec = context.mock(ProjectSpec.class);
final IProjectRegistry projectRegistry = context.mock(IProjectRegistry.class);
startParameter.setDefaultProjectSelector(projectSpec);
context.checking(new Expectations() {{
allowing(settings).getProjectRegistry();
will(returnValue(projectRegistry));