public void first_configuration_supercedes_second() { var registry = new FubuRegistry(); registry.Spark(spark => spark.Settings.AddNamespace("Test")); registry.WithSparkDefaults(); SparkSettings settings = null; registry.Services(x => { settings = (SparkSettings) x.DefaultServiceFor<ISparkSettings>().Value; }); registry.BuildGraph(); settings .UseNamespaces .ShouldContain("Test"); }