@Test
void testHashCode() throws InvalidVersionRangeException
{

    assertEquals(new DefaultVersionRange("[1.0,2.0]").hashCode(),
        new DefaultVersionRange("[1.0,2.0]").hashCode());
    assertEquals(new DefaultVersionRange("[1.0]").hashCode(),
        new DefaultVersionRange("[1.0,1.0]").hashCode());
    assertNotEquals(new DefaultVersionRange("[1.0,2.0)").hashCode(),
        new DefaultVersionRange("[1.0.2.0]").hashCode());
}