@Test
  public void shouldGeneratePropertiesFile() throws Exception {
    String javaHome = System.getProperty("java.home");
    assertThat(javaHome).isNotEmpty();
    String[] command =
        {javaHome + "/bin/java", "-cp", getClassPath(), DefaultPropertiesGenerator.class.getName()};
    ProcessBuilder launcher = new ProcessBuilder(command).directory(temporaryFolder.getRoot());
    process = launcher.start();
    process.waitFor(2, MINUTES);

    String tmp = temporaryFolder.getRoot().getAbsolutePath();
    File file = new File(tmp + File.separator + getDefaultFileName());
    assertThat(file).exists();

    Properties properties = loadProperties();
    assertThat(properties).isNotEmpty();
  }
test that the gemfire.properties generated by default is able to start a server
geode-core/src/integrationTest/java/org/apache/geode/distributed/internal/DefaultPropertiesGeneratorIntegrationTest.java