TankAnalyzer extends Analyzer { @Override protected TokenStreamComponents createComponents(String s) { final Tokenizer src = new WhitespaceTokenizer(); TokenStream tok = new LowerCaseFilter(src); return new TokenStreamComponents(src, tok); } TankAnalyzer(Version matchVersion);   }
@Test public void testCreateComponents_1() throws Exception { TankAnalyzer fixture = new TankAnalyzer(Version.LATEST); String fieldName = ""; Analyzer.TokenStreamComponents result = fixture.createComponents(fieldName); assertNotNull(result); }