### Question:
LegalEntitySurvivalProbabilities implements ImmutableBean, Serializable { public static LegalEntitySurvivalProbabilities of(StandardId legalEntityId, CreditDiscountFactors survivalProbabilities) { return new LegalEntitySurvivalProbabilities(legalEntityId, survivalProbabilities); } private  LegalEntitySurvivalProbabilities(
      StandardId legalEntityId,
      CreditDiscountFactors survivalProbabilities); static LegalEntitySurvivalProbabilities of(StandardId legalEntityId, CreditDiscountFactors survivalProbabilities); Currency getCurrency(); LocalDate getValuationDate(); DoubleArray getParameterKeys(); double survivalProbability(LocalDate date); double zeroRate(double yearFraction); CreditCurveZeroRateSensitivity zeroRatePointSensitivity(LocalDate date); CreditCurveZeroRateSensitivity zeroRatePointSensitivity(double yearFraction); CreditCurveZeroRateSensitivity zeroRatePointSensitivity(LocalDate date, Currency sensitivityCurrency); CreditCurveZeroRateSensitivity zeroRatePointSensitivity(double yearFraction, Currency sensitivityCurrency); CurrencyParameterSensitivities parameterSensitivity(CreditCurveZeroRateSensitivity pointSensitivity); static LegalEntitySurvivalProbabilities.Meta meta(); @Override LegalEntitySurvivalProbabilities.Meta metaBean(); StandardId getLegalEntityId(); CreditDiscountFactors getSurvivalProbabilities(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { LegalEntitySurvivalProbabilities test1 = LegalEntitySurvivalProbabilities.of(LEGAL_ENTITY, DFS); coverImmutableBean(test1); LegalEntitySurvivalProbabilities test2 = LegalEntitySurvivalProbabilities.of( StandardId.of("OG", "CCC"), IsdaCreditDiscountFactors.of( GBP, VALUATION, CURVE_NAME, DoubleArray.of(5.0), DoubleArray.of(0.014), ACT_365F)); coverBeanEquals(test1, test2); }