SimulatedLauncher implements IsolatedLauncher { @Override public String getVersion() { return version; } SimulatedLauncher(String version, Logger logger); @Override void execute(Map<String, String> props, LogOutput logOutput); @Override String getVersion();  }
@Test public void version() { assertThat(launcher.getVersion()).isEqualTo(VERSION); }