### Question:
ServerInfo { public String getJava() { return sysProps.getProperty("java.home", "unknown"); } ServerInfo();   ServerInfo(Properties props); String getVersion(); String getShortCommitId(); String getCommitMessage(); String getJava(); String getBranch(); @Override String toString(); String details();  }### Answer:
@Test public void testJavaHome() { assertEquals( JAVA_HOME, serverInfo.getJava(),"Unexpected Java home"); }