ShuttlServerMBean serverMBean = ShuttlServer.getMBeanProxy();
localFileSystemPaths = LocalFileSystemPaths.create();
pathResolver = new PathResolver(config);
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(