CurrencyKey { public String getKey() { return key; } CurrencyKey(String key); String getKey(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void shouldReturnKeyAsUppercase() throws Exception { final CurrencyKey sut = new CurrencyKey("eur"); assertThat(sut.getKey(), equalTo("EUR")); }