### Question:
Utils { static double getJavaVersion() { String version = System.getProperty("java.version"); if (version.equals("0")) { return 0; } if (version.contains("-")) { int indexOfDash = version.indexOf("-"); return Double.parseDouble(version.substring(0, indexOfDash)); } if (!version.contains(".")) { return Double.parseDouble(version); } int pos = 0, count = 0; for (; pos < version.length() && count < 2; pos++) { if (version.charAt(pos) == '.') { count++; } } return Double.parseDouble(version.substring(0, pos - 1)); }  static String longToTimePeriod(long msec); static SecureRandom getRandom(); static String getNodeIdShort(String nodeId); static long toUnixTime(long javaTime); static long fromUnixTime(long unixTime); @SafeVarargs static T[] mergeArrays(T[]... arr); static String align(String s, char fillChar, int targetLen, boolean alignRight); static String repeat(String s, int n); static void showErrorAndExit(String message, String... messages); static void showWarn(String message, String... messages); static String sizeToStr(long size); static void sleep(long ms); @Deprecated static long time();  }### Answer:
@Test public void getJavaVersion() { Assert.assertTrue(Utils.getJavaVersion() > 1); }