27282930313233343536
public class LdapLexerUnitTest extends LexerFixture { public List<Token> lex(String input) { List<Token> tokens = new ArrayList<Token>(); for (Token token : new LdapLexer(input)) { tokens.add(token); } return tokens; }