AbstractHandlerMethod implements HandlerMethod<T, C, E, R> { @Override public int hashCode() { int prime = 31; return (prime * method.hashCode()); } protected  AbstractHandlerMethod(Method method, ParameterSpec<E> parameterSpec); @Override @PostConstruct final void discoverAttributes(); @Override final Method rawMethod(); @Override final Set<R> producedMessages(); @Override final Set<Attribute<?>> attributes(); @Override DispatchOutcome invoke(T target, E envelope); String getFullName(); @Override MethodParams params(); @Override int hashCode(); @Override boolean equals(@Nullable Object obj); @Override String toString();  }
@Test @DisplayName("have `hashCode`") void haveHashCode() { assertNotEquals(System.identityHashCode(twoParamMethod), twoParamMethod.hashCode()); }