shadowRequest.getRequestContext().put(AccessManager.REQUEST_REMOTE_ADDRESS, "127.0.0.1");
masterRequest.getRequestContext().put(AccessManager.REQUEST_REMOTE_ADDRESS, "127.0.0.1");
StorageItem shadowItem = shadowRepository.retrieveItem(shadowRequest);
assertTrue("Shadow MUST return a link", StorageLinkItem.class.isAssignableFrom(shadowItem.getClass()));
StorageItem masterItem = masterRepository.retrieveItem(masterRequest);
assertTrue("Master MUST NOT return a link", !StorageLinkItem.class.isAssignableFrom(masterItem.getClass()));
// produce a lastRequest timestamp to now less 10 days
long lastRequest = System.currentTimeMillis() - 10 * A_DAY;