Inheritance: IScanner
 public WhenTranslatingTokens()
     : base()
 {
     pegToken = new ColorizerToken();
     ideToken = new TokenInfo();
     scanner = new BooScanner();
 }
        public WhenProcessingALineWithBooScanner()
            : base()
        {
            lexer = new BooTokenLexer();
            scanner = new BooScanner(lexer);

            scanner.SetSource(line,offset);
        }
 public AutoTokenTestFixture()
     : base()
 {
     scanner = new BooScanner(new BooTokenLexer());
 }
        public ManualTokenTestFixture()
            : base()
        {
            //             0         1         2         3
              //             012345678901234567890123456789012345678
              line = string.Empty;
              offset = 0;

              expectedTokenType = TokenType.Unknown;
              expectedTokenColor = TokenColor.Text;
              expectedStartIndex = 0;
              expectedEndIndex = 0;
              state = 0;

              lexer = new BooTokenLexer();
              scanner = new BooScanner(lexer);
              token = new TokenInfo();
        }