Java { public static Version version() { return JAVA_SPECIFICATION_VERSION_ENUM; } protected  Java(); static Version version(); static boolean isVersionAtLeast(Version requiredVersion); static final String JAVA_SPECIFICATION_VERSION; }
@Test public void testCurrentVersion() { assertNotNull(Java.version()); }