Esempio n. 1
0
        public void TxtTextReader_ReadStrings_ReturnCorrectFail_OnDirectory()
        {
            var path          = pathCreator.GetCurrentPath();
            var readingResult = txtReader.ReadStrings(path);

            readingResult.IsSuccess.Should().BeFalse();
            readingResult.Error.Should().Contain(path).And.Contain("Is directory");
        }