ArchiverEndToEndTest.class.getName() + "-safeBuckets");
IndexPreservingBucketMover bucketMover = IndexPreservingBucketMover
.create(movedBucketsLocation);
BucketLocker bucketLocker = new BucketLockerInTestDir(
createDirectoryInParent(tempDirectory, "bucketlocks"));
ShuttlServerMBean serverMBean = ShuttlServer.getMBeanProxy();
ArchiveRestHandler archiveRestHandler = new ArchiveRestHandler(
new DefaultHttpClient(), serverMBean);
return new BucketFreezer(bucketMover, bucketLocker, archiveRestHandler,
mock(FailedBucketsArchiver.class));