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