Injector injector = lifecycleInjectorBuilder.createInjector();
Assert.assertEquals(AnnotatedFineGrainedLazySingletonObject.constructorCount.get(), 0);
Assert.assertEquals(AnnotatedFineGrainedLazySingletonObject.postConstructCount.get(), 0);
AnnotatedFineGrainedLazySingletonObject instance = injector.getInstance(AnnotatedFineGrainedLazySingletonObject.class);
Assert.assertEquals(AnnotatedFineGrainedLazySingletonObject.constructorCount.get(), 1);
Assert.assertEquals(AnnotatedFineGrainedLazySingletonObject.postConstructCount.get(), 1);
AnnotatedFineGrainedLazySingletonObject instance2 = injector.getInstance(AnnotatedFineGrainedLazySingletonObject.class);
Assert.assertEquals(AnnotatedFineGrainedLazySingletonObject.constructorCount.get(), 1);
Assert.assertEquals(AnnotatedFineGrainedLazySingletonObject.postConstructCount.get(), 1);
Assert.assertSame(instance, instance2);
}