### Question:
UniqueFilterFactory implements TokenFilterFactory { public TokenFilter createTokenFilter(TokenStream tokenStream, Properties properties) throws IOException { return new UniqueFilter(tokenStream); }  TokenFilter createTokenFilter(TokenStream tokenStream,
			Properties properties); void preloadResources(Properties properties);  }### Answer:
@Test public void testCreateTokenFilter() throws Exception{ UniqueFilter uniqueFilter = (UniqueFilter) uniqueFilterFactory.createTokenFilter(tokenStream, null); assertNotNull(uniqueFilter); }