public void testFetchUnpersistedFutureId() {
String historyToken;
// Here's the factory from the "previous invocation" of the client
{
SimpleRequestFactory oldFactory = createFactory();
EntityProxyId<SimpleBarProxy> id =
oldFactory.simpleBarRequest().create(SimpleBarProxy.class).stableId();
historyToken = oldFactory.getHistoryToken(id);
}
EntityProxyId<SimpleBarProxy> id = req.getProxyId(historyToken);
assertNotNull(id);
try {