assertNotNull(key);
// Use a new instance
store = new DefaultProxyStore(store.encode());
s = req.getSerializer(store);
T restored = s.deserialize(id.getProxyClass(), key);
AutoBean<? extends BaseProxy> restoredBean = AutoBeanUtils.getAutoBean(restored);
assertNotSame(proxy, restored);
/*
* Performing a regular assertEquals() or even an AutoBeanUtils.diff() here
* is wrong. If any of the objects in the graph are unpersisted, it's