}
@Test
public void dirtyPriceFixedMethodVsCalculator() {
final double dirtyMethod = METHOD.dirtyPriceFromCurves(BOND_FIXED_SECURITY_1, CURVES);
final DirtyPriceFromCurvesCalculator calculator = DirtyPriceFromCurvesCalculator.getInstance();
final double dirtyCalculator = BOND_FIXED_SECURITY_1.accept(calculator, CURVES);
assertEquals("Fixed coupon bond security: dirty price from curves Method vs Calculator", dirtyMethod, dirtyCalculator);
}