public void GenerateArgumentNullTest1()
        {
            var prefs = CreatePreferenceSet();

            var markupGenerator = new MarkupGenerator(prefs);

            Assert.Throws(typeof(ArgumentNullException), () => markupGenerator.Generate(null));
        }
        public void DontGenerateTest()
        {
            IPreferenceSet prefs = CreatePreferenceSet();

            prefs.Stub(x => x.Get <bool>(Preference.WebGenCopyXml)).Return(false);
            prefs.Stub(x => x.Get <bool>(Preference.WebGenCopyHtml)).Return(false);

            var slots           = CreateSlotModelCollection();
            var markupGenerator = new MarkupGenerator(prefs);

            markupGenerator.Generate(slots);

            Assert.IsNull(markupGenerator.XmlFilePaths);
            Assert.IsNull(markupGenerator.HtmlFilePaths);
        }