Пример #1
0
        public void GetWordsFromFile_ShouldWorksCorrect_WhenReadWordsFromFile()
        {
            var reader = new DocxFileReader();

            var filePath = Path.Combine(Environment.CurrentDirectory, "TestsResourses\\file2.docx");

            var result = reader.GetWordsFromFile(filePath);

            result.GetValueOrThrow().Should().BeEquivalentTo("Всем", "Привет", "Это", "Данил");
        }
Пример #2
0
 public void SetUp()
 {
     reader = new DocxFileReader();
 }