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("Всем", "Привет", "Это", "Данил"); }
public void SetUp() { reader = new DocxFileReader(); }