private void Given_XmlWriter()
        {
            this.xmlStm = new MemoryStream();
            var xw = new XmlnsHidingWriter(xmlStm, new UTF8Encoding(false))
            {
                Formatting = Formatting.Indented,
            };

            fsSvc.Setup(f => f.CreateXmlWriter(It.IsAny <string>())).Returns(xw);
        }
        private void Given_XmlWriter()
        {
            this.xmlStm = new MemoryStream();
            var xw = new XmlnsHidingWriter(xmlStm, new UTF8Encoding(false))
            {
                Formatting = Formatting.Indented,
            };

            fsSvc.Stub(f => f.CreateXmlWriter(null)).IgnoreArguments().Return(xw);
        }