FilesystemInstallation implements Installation { @Override public boolean isRunning() { return running; } private  FilesystemInstallation(File versionFolder); static Installation create(File versionFolder, ProgressReport report); @Override synchronized void addContent(DataInVersion dataInVersion); @Override synchronized void abort(); @Override synchronized void finish(); @Override boolean isRunning();  }
@Test public void isOngoingWhileNotFinished() throws Exception { assertThat(installation.isRunning(), is(true)); }