@Override
    public int hashCode() {
        int result = major;
        result = 31 * result + minor;
        return result;
    }
@Test
    public void hashCodeTest() {
        assertEquals(Version.UNKNOWN.hashCode(), Version.UNKNOWN.hashCode());

        assertTrue(Version.UNKNOWN.hashCode() != Version.of(4, 0).hashCode());
    }