StandardOptionWithSpotTimeSeriesDataBundle extends StandardOptionDataBundle { public DoubleTimeSeries<?> getSpotTimeSeries() { return _spotTS; } StandardOptionWithSpotTimeSeriesDataBundle(final YieldAndDiscountCurve discountCurve, final double b, final VolatilitySurface volatilitySurface, final double spot, final ZonedDateTime date,
      final DoubleTimeSeries<?> spotTS);  StandardOptionWithSpotTimeSeriesDataBundle(final StandardOptionWithSpotTimeSeriesDataBundle data);  StandardOptionWithSpotTimeSeriesDataBundle(final StandardOptionDataBundle data, final DoubleTimeSeries<?> spotTS); DoubleTimeSeries<?> getSpotTimeSeries(); @Override StandardOptionWithSpotTimeSeriesDataBundle withInterestRateCurve(final YieldAndDiscountCurve curve); @Override StandardOptionWithSpotTimeSeriesDataBundle withCostOfCarry(final double costOfCarry); @Override StandardOptionWithSpotTimeSeriesDataBundle withVolatilitySurface(final VolatilitySurface surface); @Override StandardOptionWithSpotTimeSeriesDataBundle withDate(final ZonedDateTime date); @Override StandardOptionWithSpotTimeSeriesDataBundle withSpot(final double spot); StandardOptionWithSpotTimeSeriesDataBundle withSpotTimeSeries(final DoubleTimeSeries<?> spotTS); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void testGetters() { assertEquals(DATA.getInterestRateCurve(), CURVE); assertEquals(DATA.getCostOfCarry(), B, 0); assertEquals(DATA.getDate(), DATE); assertEquals(DATA.getSpot(), SPOT, 0); assertEquals(DATA.getVolatilitySurface(), SURFACE); assertEquals(DATA.getSpotTimeSeries(), TS); }