verify(report, never()).finishedInstallation();
}
@Test
public void handsOutInstallationControllerFromStore() throws Exception {
NumericVersion version = new NumericVersion(4, 2, 1);
Installation installation = mock(Installation.class);
when(store.beginInstallation(version)).thenReturn(installation);
FilesystemRepository repository = new FilesystemRepository(folder.getRoot());
OngoingInstallation actualInstallation = repository.transferVersionTo(version, store);
assertThat(actualInstallation, is((OngoingInstallation) installation));