### Question:
Version { public boolean isRange() { return version.contains(","); } 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 testIsRange() throws Exception { Version v = new Version("1,2"); Assert.assertTrue(v.isRange()); Version v1 = new Version("1.2"); Assert.assertFalse(v1.isRange()); }