@Test
public void testClassSingleton() {
LifecycleInjector.builder()
.inStage(Stage.DEVELOPMENT)
.withMode(LifecycleInjectorMode.SIMULATED_CHILD_INJECTORS)
.withPostInjectorAction(new BindingReport(testName))
.withPostInjectorAction(new CreateAllBoundSingletons())
.withModules(new AbstractModule() {
@Override
protected void configure() {
bind(FooImpl.class);