VersionRange { public String getEndVersion() { return endVersion; } VersionRange(String range); boolean isValid(); String getEndVersion(); boolean isEndVersionIncluded(); String getStartVersion(); boolean isStartVersionIncluded(); boolean contains(String version);  }
@Test public void testEndVersion() { assertThat(new VersionRange(range).getEndVersion(), equalTo(endVersion)); }