public void testFindImplementationsWithExcludePackageFilter() {
    filter.addExcludePattern(scanPackage + ".a.*");
    resolver.addFilter(filter);

    Set<Class<?>> scanned = resolver.findImplementations(ScanTargetOne.class, scanPackage);
    validateMatchingSetContains(scanned, ScanTargetTwo.class);
  }
 public void testFindImplementationsWithoutExtraFilters() {
   Set<Class<?>> scanned = resolver.findImplementations(ScanTargetOne.class, scanPackage);
   validateMatchingSetContains(scanned, ScanTargetOne.class, ScanTargetTwo.class);
 }