}
@Test
public void deepCircularReference() {
ObjectCanonicRecursiveModel1 objectCanonicRecursiveModel1 = new ObjectCanonicRecursiveModel1();
ObjectCanonicRecursiveModel2 objectCanonicRecursiveModel2 = new ObjectCanonicRecursiveModel2();
ObjectCanonicRecursiveModel1 otherObject1 = new ObjectCanonicRecursiveModel1();
objectCanonicRecursiveModel1.setObject2(objectCanonicRecursiveModel2);
objectCanonicRecursiveModel2.setObject1(otherObject1);
otherObject1.setObject2(objectCanonicRecursiveModel2);
ObjectRecursiveModel1 objectRecursiveModel1 = new Mapping().apply(objectCanonicRecursiveModel1).to(ObjectRecursiveModel1.class);
assertTrue("objectRecursiveModel1.object2.object1.object2 should be same reference as objectRecursiveModel1.object2",