YieldCurveWithBlackSwaptionBundle extends YieldCurveBundle { public BlackFlatSwaptionParameters getBlackParameters() { return _parameters; } YieldCurveWithBlackSwaptionBundle(final BlackFlatSwaptionParameters parameters, final YieldCurveBundle curves); @Override /** * Create a new copy of the bundle using a new map and the same curve and curve names. The same BlackSwaptionParameters is used. * @return The bundle. */ YieldCurveWithBlackSwaptionBundle copy(); BlackFlatSwaptionParameters getBlackParameters(); @Override int hashCode(); @Override boolean equals(final Object obj);  }
@Test public void getter() { assertEquals("Yield curve with Black Swaption Surface: getter", BLACK_SWAPTION, CURVES_WITH_BLACK.getBlackParameters()); }