@Test
public void hashCodeValue() throws Exception {

    AttributeKey<Number> key1 = new AttributeKey<Number>(Number.class, "keyName");
    AttributeKey<Number> key2 = new AttributeKey<Number>(Number.class, "keyName");
    assertThat(key1.hashCode(), is(key2.hashCode()));
}