DepositIbor extends Cash { public IborIndex getIndex() { return _index; } @Deprecated  DepositIbor(final Currency currency, final double startTime, final double endTime, final double notional, final double initialAmount, final double rate, final double accrualFactor,
      final IborIndex index, final String indexCurveName);  DepositIbor(final Currency currency, final double startTime, final double endTime, final double notional, final double initialAmount, final double rate, final double accrualFactor,
      final IborIndex index); IborIndex getIndex(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override T accept(final InstrumentDerivativeVisitor<S, T> visitor, final S data); @Override T accept(final InstrumentDerivativeVisitor<?, T> visitor);  }
@Test public void getter() { assertEquals("DepositIbor: getter", SPOT_TIME, DEPOSIT_IBOR.getStartTime()); assertEquals("DepositIbor: getter", END_TIME, DEPOSIT_IBOR.getEndTime()); assertEquals("DepositIbor: getter", NOTIONAL, DEPOSIT_IBOR.getNotional()); assertEquals("DepositIbor: getter", RATE, DEPOSIT_IBOR.getRate()); assertEquals("DepositIbor: getter", EUR, DEPOSIT_IBOR.getCurrency()); assertEquals("DepositIbor: getter", DEPOSIT_AF, DEPOSIT_IBOR.getAccrualFactor()); assertEquals("DepositIbor: getter", RATE * NOTIONAL * DEPOSIT_AF, DEPOSIT_IBOR.getInterestAmount()); assertEquals("DepositIbor: getter", INDEX, DEPOSIT_IBOR.getIndex()); }