@Test
  public void testNoFile() {
    String noFile = "not a property file";
    VersionDescription noVersion = new VersionDescription(noFile);

    StringWriter sw = new StringWriter();
    PrintWriter pw = new PrintWriter(sw);
    noVersion.print(pw);

    String noFileOutput = sw.toString();
    assertTrue(noFileOutput.contains(
        String.format("<Could not find resource org/apache/geode/internal/%s>",
            noFile)));
  }
This test prints out the version information obtained from the {@link GemFireVersion} class. It
provides a record of what version of GemFire (and the JDK) was used to run the unit tests.
geode-core/src/test/java/org/apache/geode/internal/GemFireVersionJUnitTest.java