DefaultStorageLinkItem link = new DefaultStorageLinkItem(repo1, new ResourceStoreRequest("/b.txt"), true, true, file
.getRepositoryItemUid());
repo1.getLocalStorage().storeItem(repo1, link);
StorageItem item = repo1.retrieveItem(new ResourceStoreRequest("/b.txt", true));
assertEquals(DefaultStorageLinkItem.class, item.getClass());
StorageFileItem item1 = (StorageFileItem) repo1.retrieveItem(false, new ResourceStoreRequest(
((StorageLinkItem) item).getTarget().getPath(),
false));