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);
failingBucketFreezerWithoutRecovery = new BucketFreezer(bucketMover,
bucketLocker, internalErrorRestHandler, noOpFailedBucketsArchiver);