{
Injector injector = lifecycleInjectorBuilder
.usingBasePackages("com.netflix.governator.guice.modules")
.createInjector();
ObjectA objectA = injector.getInstance(ObjectA.class);
ObjectB objectB = injector.getInstance(ObjectB.class);
Assert.assertEquals(objectA.getColor(), "blue");
Assert.assertEquals(objectB.getSize(), "large");
}