ClasspathFunctionResolver extends BaseFunctionResolver { public void include(String... toInclude) { for(String incl : toInclude) { includes.add(incl); } } ClasspathFunctionResolver(); void classLoaders(ClassLoader... classloaders); void include(String... toInclude); void exclude(String... toExclude); @Override @SuppressWarnings("unchecked") void initialize(Context context); @Override @SuppressWarnings("unchecked") Set<Class<? extends StellarFunction>> resolvables();  }
@Test public void testInclude() { Properties config = new Properties(); config.put(STELLAR_SEARCH_INCLUDES_KEY.param(), "org.apache.metron.*"); ClasspathFunctionResolver resolver = create(config); List<String> actual = Lists.newArrayList(resolver.getFunctions()); assertEquals(expectedFunctions, actual); }