public void ProcessRegularCharacterTest()
        {
            ParsingContextTestImpl context = new ParsingContextTestImpl();
            ParsingState           target  = new ParsingState();
            FileReaderTestImpl     reader  = new FileReaderTestImpl(50);

            System.Text.StringBuilder localText = new System.Text.StringBuilder();
            while (!reader.IsEOF)
            {
                char nextChar = reader.GetNextChar();
                localText.Append(nextChar);
                Assert.AreEqual(target.ProcessCharacter(context, nextChar), ParsingResult.Match);
                Assert.AreEqual <string>(localText.ToString(), context.CurrentText);
            }
        }
 public void ProcessRegularCharacterTest()
 {
     ParsingContextTestImpl context = new ParsingContextTestImpl();
     ParsingState target = new ParsingState();
     FileReaderTestImpl reader = new FileReaderTestImpl(50);
     System.Text.StringBuilder localText = new System.Text.StringBuilder();
     while (!reader.IsEOF)
     {
         char nextChar = reader.GetNextChar();
         localText.Append(nextChar);
         Assert.AreEqual(target.ProcessCharacter(context, nextChar), ParsingResult.Match);
         Assert.AreEqual<string>(localText.ToString(), context.CurrentText);
     }
 }