public DefaultXmlSerializerTests() { var environment = new DefaultNancyEnvironment(); environment.Tracing( enabled: true, displayErrorTraces: true); environment.Xml(true); environment.Globalization(new[] { "en-US" }); this.xmlSerializer = new DefaultXmlSerializer(environment); }