if (downUrls.contains(baseUrl)) {
throw new RemoteStorageException("Mock " + baseUrl + " is expected to be down.");
}
if (validUrls.contains(requestUrl)) {
return new DefaultStorageFileItem(repository, request, true, false, new ByteArrayContentLocator(
"Mock".getBytes(), "plain/text"));
}
// else
throw new ItemNotFoundException(request);