GuiceUtils { public static <T> ImmutableList<Class<? extends T>> loadClasses( Class<T> baseClass, String... classNames) { return loadClasses(baseClass, Arrays.asList(classNames)); } private  GuiceUtils(); static ImmutableList<? extends T> loadInstances(
      Injector injector,
      Class<T> baseClass,
      String classNames); static ImmutableList<? extends T> loadInstances(
      Injector injector,
      Class<T> baseClass,
      Iterable<String> classNames); static ImmutableList<String> parseClassNames(String classNames); static ImmutableList<Class<? extends T>> loadClasses(
      Class<T> baseClass, String... classNames); static ImmutableList<Class<? extends T>> loadClasses(
      Class<T> baseClass,
      Iterable<String> classNames); static ImmutableList<? extends T> getInstances(
      Injector injector,
      Iterable<Class<? extends T>> classes);  }
@Test(expected = IllegalArgumentException.class) public void loadClasses_wrongBaseClass_error() { GuiceUtils.loadClasses(If.class, String.class.getName()); }
@Test public void loadClasses_countingBidInterceptor_ok() { GuiceUtils.loadClasses(If.class, Impl.class.getName()); }
@Test public void loadClasses_unknownInterceptor_ok() { GuiceUtils.loadClasses(If.class, "this.impl.DoesNotExist"); }