@Override
    public int hashCode() {
        return intValue;
    }
@Test
    public void testHashCode() throws Exception {
        for (DnsRecordType t : allTypes()) {
            assertEquals(t.intValue(), t.hashCode());
        }
    }