Collection<Token> tokens = new ArrayList<Token>();
tokens.add(new Token("token1".toCharArray(),0,6,0,6));
tokens.add(new Token("token2".toCharArray(),0,6,7,13));
tokens.add(new Token("token3".toCharArray(),0,6,14,20));
tokenStream = new CollectionTokenStream(tokens);
filterBuilder = new FilterBuilder(new HashMap<String, TokenFilterFactory>());
}