ObjectCanonicRecursiveModel1 objectCanonicRecursiveModel1 = new ObjectCanonicRecursiveModel1();
ObjectCanonicRecursiveModel2 objectCanonicRecursiveModel2 = new ObjectCanonicRecursiveModel2();
objectCanonicRecursiveModel2.setObject1(objectCanonicRecursiveModel1);
objectCanonicRecursiveModel1.setObject2(objectCanonicRecursiveModel2);
ObjectRecursiveModel1 objectRecursiveModel1 = new Mapping().apply(objectCanonicRecursiveModel1).to(ObjectRecursiveModel1.class);
assertTrue("objectRecursiveModel1.object2.object1 should be same reference as objectRecursiveModel1",
objectRecursiveModel1 == objectRecursiveModel1.getObject2().getObject1());
}