// No convexity adjustment
final PresentValueCalculator pvcNoConvexity = PresentValueCalculator.getInstance();
final double priceNoConvexity = CMS_COUPON_RECEIVER.accept(pvcNoConvexity, curves);
assertEquals(priceHagan, priceNoConvexity, 400.0);
// SABR Hagan alternative volatility function
final SABRInterestRateParameters sabrParameterHaganAlt = TestsDataSetsSABR.createSABR1(new SABRHaganAlternativeVolatilityFunction());
final SABRInterestRateDataBundle sabrHaganAltBundle = new SABRInterestRateDataBundle(sabrParameterHaganAlt, curves);
final double priceHaganAlt = CMS_COUPON_RECEIVER.accept(PVC, sabrHaganAltBundle);
assertEquals(priceHagan, priceHaganAlt, 40.0);
// SABR Berestycki volatility function
final SABRInterestRateParameters sabrParameterBerestycki = TestsDataSetsSABR.createSABR1(new SABRBerestyckiVolatilityFunction());