GeneratorInterestRateFutures extends GeneratorInstrument<GeneratorAttribute> { public InterestRateFutureSecurityDefinition getFutures() { return _security; } GeneratorInterestRateFutures(final String name, final InterestRateFutureSecurityDefinition security); InterestRateFutureSecurityDefinition getFutures(); @Override InterestRateFutureTransactionDefinition generateInstrument(final ZonedDateTime date, final double marketQuote, final double notional, final GeneratorAttribute attribute); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void getter() { assertEquals("GeneratorInterestRateFutures: getter", FUTURES_DEFINITION, GENERATOR_FUTURES_ED.getFutures()); assertEquals("GeneratorInterestRateFutures: getter", GENERATOR_FUTURES_ED.getName(), "USD-ED"); }