### Question:
MethodDescriptor extends AbstractMethodDescriptor<Method> implements StaticExecutable { @Override public Method getElement() { return method; } MethodDescriptor(TypeDescriptor declaringType, Method method); TypeDescriptor getReturnType(); Class<?> getRawReturnType(); List<ParameterDescriptor> getParameters(); int getParameterCount(); String getName(); List<Class<?>> getParameterTypes(); @Override Object invokeStatic(Object... args); Object invoke(Object object, Object... args); @Override boolean equals(Object obj); @Override int hashCode(); boolean applies(TypeDescriptor typeDescriptor); String toString(); @Override Method getElement();  }### Answer:
@Test public void identity() { Map<MethodSignature, MethodDescriptor> methods = getTypeDescriptor().getMethods(); EqualsVerifier.forClass(MethodDescriptor.class) .withPrefabValues(Method.class, methods.get(new MethodSignature("equals", Object.class)).getElement(), methods.get(new MethodSignature("hashCode")).getElement()) .verify(); }