SimpleVersion implements Comparable<SimpleVersion>, Serializable { public static String getCurrentJavaVirtualMachineSpecificationVersion() { return System.getProperty("java.vm.specification.version", "1.8"); } SimpleVersion(final Integer major, final Integer medium); final static SimpleVersion parse(final String version); static boolean isCompatible(final String minimalJvmVersion); static String getCurrentJavaVirtualMachineSpecificationVersion(); int compareTo(final SimpleVersion version); boolean isBackwardCompatible(final SimpleVersion version); Integer getMajor(); Integer getMedium(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void checkVersionPropertyNotNull() { Assert.assertNotNull(SimpleVersion.getCurrentJavaVirtualMachineSpecificationVersion()); }