BlackBondFuturesFlatProviderDiscount extends BlackBondFuturesFlatProvider { @Override public IssuerProviderDiscount getIssuerProvider() { return (IssuerProviderDiscount) super.getIssuerProvider(); } BlackBondFuturesFlatProviderDiscount(final IssuerProviderDiscount issuerProvider, final Surface<Double, Double, Double> parameters, final LegalEntity legalEntity); @Override BlackBondFuturesFlatProviderDiscount copy(); @Override MulticurveProviderDiscount getMulticurveProvider(); @Override IssuerProviderDiscount getIssuerProvider();  }
@Test public void getter() { assertEquals("BlackBondFuturesFlatProviderDiscount: getter", ISSUER_SPECIFIC_MULTICURVES, BLACK_FLAT_BNDFUT.getIssuerProvider()); assertEquals("BlackBondFuturesFlatProviderDiscount: getter", BLACK_SURFACE_EXP_DEL, BLACK_FLAT_BNDFUT.getBlackParameters()); assertEquals("BlackBondFuturesFlatProviderDiscount: getter", LEGAL_ENTITY_GERMANY, BLACK_FLAT_BNDFUT.getLegalEntity()); }