}
@Test
public void presentValueSensitivityMethodVsCalculator() {
final InterestRateCurveSensitivity pvcsMethod = FRA_METHOD.presentValueCurveSensitivity(FRA, CURVES_1);
final PresentValueCurveSensitivityCalculator calculator = PresentValueCurveSensitivityCalculator.getInstance();
final Map<String, List<DoublesPair>> pvcsCalculator = FRA.accept(calculator, CURVES_1);
assertEquals("FRA discounting: present value calculator vs method", pvcsCalculator, pvcsMethod.getSensitivities());
}