snapshotStore = createMock(new Clazz<SnapshotStore<Snapshot>>() { });
distributedStore = createMock(DistributedSnapshotStore.class);
primaryStorage = createMock(Storage.class);
storeProvider = createMock(MutableStoreProvider.class);
shutDownNow = createMock(Command.class);
clock = new FakeClock();
TemporaryStorageFactory factory = new TemporaryStorageFactory();
storageBackup =
new StorageBackupImpl(snapshotStore, clock, new BackupConfig(backupDir, 5, INTERVAL));
recovery = new RecoveryImpl(backupDir, factory, primaryStorage, distributedStore, shutDownNow);
}