Ejemplo n.º 1
0
        public void Should_Have_CurrentLine_Corretly()
        {
            //Arrange
            var readFile = new ReadFile(LoadFakerFile("Pessoa.txt"), ";", true, skipEmptyLine: true);

            //Act
            var currentlyLine = readFile.GetCurrentLine();

            //Assert
            while (readFile.NextLine())
            {
                currentlyLine += 1;
                currentlyLine.Should().Be(readFile.GetCurrentLine());
            }
        }