EnumGeneratorBundle implements InjectBundle { @Override public Stream<Class<?>> injectables() { return EnumGeneratorComponent.include() .withComponent(EnumGeneratorComponent.class) .injectables(); }  @Override Stream<Class<?>> injectables();  }
@Test void injectables() { final Set<Class<?>> classes = new EnumGeneratorBundle().injectables().collect(toSet()); assertTrue(classes.contains(EnumGeneratorComponent.class)); }