}
@Test
public void cleanPriceFixedMethodVsCalculator() {
final double cleanMethod = METHOD.cleanPriceFromCurves(BOND_FIXED_SECURITY_1, CURVES);
final CleanPriceFromCurvesCalculator calculator = CleanPriceFromCurvesCalculator.getInstance();
final double cleanCalculator = BOND_FIXED_SECURITY_1.accept(calculator, CURVES);
assertEquals("Fixed coupon bond security: dirty price from curves Method vs Calculator", cleanMethod, cleanCalculator);
}