TMUtils { public static String getVersion() throws CelloException { String rtn = null; final Properties properties = new Properties(); try { properties.load( TMUtils.class.getClassLoader().getResourceAsStream("cello-technologymapping.properties")); } catch (IOException e) { throw new CelloException("Unable to get version."); } rtn = properties.getProperty("org.cellocad.v2.cello-technologymapping.version"); return rtn; }  static String getVersion(); static URL getResource(final String resource); static String getResourceAsString(final String resource); static CObjectCollection<Part> getInputParts(
      final NetlistNode node, final TargetDataInstance tdi); static Map<Input, Part> getInputs(final NetlistNode node, final TargetDataInstance tdi);  }
@Test public void getVersion_None_ShouldReturnVersion() throws CelloException { String version = TMUtils.getVersion(); Matcher m = Utils.SEM_VER_PATTERN.matcher(version); assertTrue(m.matches()); }