### Question:
Cache2kVersion { public static String getVersion() { return version; }  static String getVersion();  }### Answer:
@Test public void testVersion() { String v = Cache2kVersion.getVersion(); assertNotNull(v); assertNotEquals("<unknown>", v); assertTrue("Either version is not replaced or something that looks like a version", v.equals("${version}") || v.matches("[0-9]+\\..*")); }