예제 #1
0
        public void Null_Exporter_should_return_false()
        {
            IExporter Exporter  = null;
            ComicBook comicBook = new ComicBook(null, null);
            bool      result    = comicBook.Export(Exporter);

            Assert.False(result);
        }
예제 #2
0
        public void EPub_Exporter_should_return_true()
        {
            IExporter Exporter  = new EpubExporter();
            ComicBook comicBook = new ComicBook(null, null);
            bool      result    = comicBook.Export(Exporter);

            Assert.True(result);
        }