public void GetComposite(string isOrIsnt) { var settings = new CompositeAppSettings(); if (isOrIsnt.ToLower() == "is") { settings.OutputChannel.ApplyOverride(typeof(InMemoryMessageChannel)); } try { Composite = new BasicCompositeApp { Name = "Euclid.Sdk.Specifications.Metadata.Composite", Description = "A composite used to test the metadata system" }; Composite.Configure(settings); } catch (NullSettingException) { if (isOrIsnt.ToLower() != "isn't") { Assert.Fail("the composite could not be configured"); } } catch { Assert.Fail("the composite could not be configured"); } Formatter = Composite.GetFormatter(); }