コード例 #1
0
 public void TextDocumentReader_Integration_ReadLine_EmptyThrowsException()
 {
     using (var rdr = new TextDocumentReader(baseDir + "empty.txt"))
     {
         var line = rdr.ReadLine();
     }
 }
コード例 #2
0
        public void TextDocumentReader_Integration_ReadLine_ReturnsLine()
        {
            using (var rdr = new TextDocumentReader(baseDir + "resume.txt"))
            {
                var line = rdr.ReadLine();

                Assert.IsNotNull(line);
            }
        }