ClasspathFunctionResolver extends BaseFunctionResolver { public void exclude(String... toExclude) { for(String excl : toExclude) { excludes.add(excl); } } 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 testExclude() { Properties config = new Properties(); config.put(STELLAR_SEARCH_EXCLUDES_KEY.param(), "org.apache.metron.*"); ClasspathFunctionResolver resolver = create(config); List<String> actual = Lists.newArrayList(resolver.getFunctions()); assertEquals(0, actual.size()); }