@Test public void testBuildMultiLangConfigWithIncorrectInformation() throws IOException { File propertiesFile = temporaryFolder.newFile("temp.properties"); expectedException.expect(RuntimeException.class); expectedException.expectMessage(containsString("Must provide an executable name in the properties file")); daemon.buildMultiLangDaemonConfig(propertiesFile.getAbsolutePath()); }
MultiLangDaemonConfig buildMultiLangDaemonConfig(final String propertiesFile) { try { return new MultiLangDaemonConfig(propertiesFile); } catch (IOException e) { throw new RuntimeException("Error while reading properties file: " + e.getMessage()); } }
MultiLangDaemon { MultiLangDaemonConfig buildMultiLangDaemonConfig(final String propertiesFile) { try { return new MultiLangDaemonConfig(propertiesFile); } catch (IOException e) { throw new RuntimeException("Error while reading properties file: " + e.getMessage()); } } }
MultiLangDaemon { MultiLangDaemonConfig buildMultiLangDaemonConfig(final String propertiesFile) { try { return new MultiLangDaemonConfig(propertiesFile); } catch (IOException e) { throw new RuntimeException("Error while reading properties file: " + e.getMessage()); } }  }
MultiLangDaemon { MultiLangDaemonConfig buildMultiLangDaemonConfig(final String propertiesFile) { try { return new MultiLangDaemonConfig(propertiesFile); } catch (IOException e) { throw new RuntimeException("Error while reading properties file: " + e.getMessage()); } }  static void main(final String[] args); }
MultiLangDaemon { MultiLangDaemonConfig buildMultiLangDaemonConfig(final String propertiesFile) { try { return new MultiLangDaemonConfig(propertiesFile); } catch (IOException e) { throw new RuntimeException("Error while reading properties file: " + e.getMessage()); } }  static void main(final String[] args);  }