CurrencyConverter implements PropertyConverter<Currency> { @Override public int hashCode(){ return getClass().hashCode(); }  @Override Currency convert(String value, ConversionContext ctx); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testHashCode() { CurrencyConverter instance = new CurrencyConverter(); assertThat(instance.hashCode()).isEqualTo(CurrencyConverter.class.hashCode()); }