Revolut interview question

hashCode() and equal() contract and modify code class to make possible the assertion