factory.bindInjector(new SelfInjector(), new ServicePropertiesMap(1, 1));
}
@Test
public void testChainedSelfDependency() {
SelfDependencyModelA objectA = factory.getAdapter(request, SelfDependencyModelA.class);
assertNotNull(objectA);
SelfDependencyModelB objectB = objectA.getDependencyB();
assertNotNull(objectB);
assertSame(request, objectB.getRequest());
}