@Before
public void initializeVersionRepository() throws Throwable {
folder.create();
this.repositoryFolder = folder.newFolder("repository");
this.versionStoreFolder = folder.newFolder("versions");
Repository repository = new FilesystemRepository(repositoryFolder);
versionStore = new FilesystemVersionStore(versionStoreFolder,
new ZipInstallationStarter(new FilesystemInstallationStarter()));
updateSystemBuilder.useStore(versionStore);
updateSystemBuilder.useRepository(repository);
Installation installation = versionStore.beginInstallation(currentVersion);