hadoopFileSystem = getHadoopFileSystem(hadoopHost, hadoopPort);
IndexPreservingBucketMover bucketMover = IndexPreservingBucketMover
.create(localFileSystemPaths.getSafeDirectory());
BucketLocker bucketLocker = new ArchiveBucketLocker();
ArchiveRestHandler internalErrorRestHandler = new ArchiveRestHandler(
TUtilsMockito.createInternalServerErrorHttpClientMock(), serverMBean);
ArchiveRestHandler successfulRealRestHandler = new ArchiveRestHandler(
new DefaultHttpClient(), serverMBean);
FailedBucketsArchiver noOpFailedBucketsArchiver = mock(FailedBucketsArchiver.class);
FailedBucketsArchiver realFailedBucketsArchiver = new FailedBucketsArchiver(
bucketMover, bucketLocker);