public MockTokenFilter(TokenStream input,CharacterRunAutomaton filter){
  super(input);
  this.filter=filter;
}

public MockTokenFilter ( TokenStream input , CharacterRunAutomaton filter ) { super ( input ) ; this . filter = filter ; }
create a new mocktokenfilter .
