@Test public void sameMethodState_SameHashCode() { MethodId method1 = createMethodeOne(); int hash1 = method1.hashCode(); MethodId method2 = createMethodeOne(); int hash2 = method2.hashCode(); assertTrue(hash1 == hash2); }