public void createSettings() {
final File expectedSettingsDir = new File("settingsDir");
ScriptSource expectedScriptSource = context.mock(ScriptSource.class);
Map<String, String> expectedGradleProperties = WrapUtil.toMap("key", "myvalue");
IProjectDescriptorRegistry expectedProjectDescriptorRegistry = new DefaultProjectDescriptorRegistry();
StartParameter expectedStartParameter = new StartParameter();
SettingsFactory settingsFactory = new SettingsFactory(expectedProjectDescriptorRegistry);
final URLClassLoader urlClassLoader = new URLClassLoader(new URL[0]);
GradleInternal gradle = context.mock(GradleInternal.class);
DefaultSettings settings = (DefaultSettings) settingsFactory.createSettings(gradle,