@Test
public void testPriceSABRSurface() {
final YieldCurveBundle curves = TestsDataSetsSABR.createCurves1();
final SABRInterestRateParameters sabrParameter = TestsDataSetsSABR.createSABR1();
final SABRInterestRateDataBundle sabrBundle = new SABRInterestRateDataBundle(sabrParameter, curves);
final PresentValueSABRCalculator pvcSabr = PresentValueSABRCalculator.getInstance();
// Swaption pricing.
final double priceLongPayer = SWAPTION_LONG_PAYER.accept(pvcSabr, sabrBundle);
final double priceShortPayer = SWAPTION_SHORT_PAYER.accept(pvcSabr, sabrBundle);
final double priceLongReceiver = SWAPTION_LONG_RECEIVER.accept(pvcSabr, sabrBundle);
final double priceShortReceiver = SWAPTION_SHORT_RECEIVER.accept(pvcSabr, sabrBundle);