### Question:
CurrencyGenerator implements Generator<Currency> { public Currency next() { return currencyGenerator.next(); }  Currency next();  }### Answer:
@Test public void generateCurrencies(){ Generator<Currency> generator = RDG.currency(); for (int i = 0; i < 1000; i++) { Currency currency = generator.next(); assertThat(currency.getCurrencyCode()).hasSize(3); print(currency); } }