// the proxy should return one instance, which will be the dummy object
// created by the encoder's
// restore call
final ObjectList objects = (ObjectList) instances.getObject();
assertEquals(1, objects.size());
assertEquals(dummyObjectAdapter, objects.elements().nextElement());
}
@Test
public void testResolveImmediatelyIgnoredWhenAlreadyResolving() throws Exception {