### Question:
Version { public String getVersion() { if (minorVersionSupport() || majorVersionSupport()) { return version.substring(0, version.length()-1).trim(); } return version.trim(); } Version(final String version); boolean isRange(); String getVersion(); String getStartRange(); String getEndRange(); boolean minorVersionSupport(); boolean majorVersionSupport(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testGetVersion() throws Exception { Version v = new Version("1,2"); Assert.assertNotNull(v.getVersion()); }