public void GetAppropriateXmlPartFaildTest()
        {
            var generator      = new WordFormReportGenerator();
            var template       = WordprocessingDocument.Open(new MemoryStream(Properties.Resources.MeetingNotesTemplate), false);
            var serializedData = Properties.Resources.NoCorrectMeetingNotesData;

            var part = generator.GetAppropriateXmlPart(template, new MemoryStream(serializedData, false));

            Assert.Fail();
        }
        public void GetAppropriateXmlPartSuccessTest()
        {
            var generator      = new WordFormReportGenerator();
            var template       = WordprocessingDocument.Open(new MemoryStream(Properties.Resources.MeetingNotesTemplate), false);
            var serializedData = Properties.Resources.CorrectMeetingNotesData;

            var part = generator.GetAppropriateXmlPart(template, new MemoryStream(serializedData, false));

            Assert.IsNotNull(part);

            Assert.AreEqual(serializedData.Length, part.GetStream().Length);
        }