((Swappable)hidingOne).hotswap(hidingTwo);
List hidingThree = (List) HotSwapping.object(List.class, getFactory(), hidingTwo);
    public void testShouldDiscoverCyclicReferences() {        List firstList = new ArrayList();        List hidingOne = (List) HotSwapping.object(List.class, getFactory(), firstList);        List hidingTwo = (List) HotSwapping.object(List.class, getFactory(), hidingOne);        ((Swappable)hidingOne).hotswap(hidingTwo);        try {            hidingOne.add("help");            fail();        } catch (IllegalStateException e) {            // expected        }    }