### Question:
LegalEntityCurveGroup implements CurveGroup, ImmutableBean, Serializable { public static LegalEntityCurveGroup of( CurveGroupName name, Map<Pair<RepoGroup, Currency>, Curve> repoCurves, Map<Pair<LegalEntityGroup, Currency>, Curve> issuerCurves) { return new LegalEntityCurveGroup(name, repoCurves, issuerCurves); } private  LegalEntityCurveGroup(
      CurveGroupName name,
      Map<Pair<RepoGroup, Currency>, Curve> repoCurves,
      Map<Pair<LegalEntityGroup, Currency>, Curve> issuerCurves); static LegalEntityCurveGroup of(
      CurveGroupName name,
      Map<Pair<RepoGroup, Currency>, Curve> repoCurves,
      Map<Pair<LegalEntityGroup, Currency>, Curve> issuerCurves); @Override Optional<Curve> findCurve(CurveName name); Optional<Curve> findRepoCurve(RepoGroup repoGroup, Currency currency); Optional<Curve> findIssuerCurve(LegalEntityGroup legalEntityGroup, Currency currency); @Override Stream<Curve> stream(); Stream<Curve> repoCurveStream(); Stream<Curve> issuerCurveStream(); static LegalEntityCurveGroup.Meta meta(); static LegalEntityCurveGroup.Builder builder(); @Override LegalEntityCurveGroup.Meta metaBean(); @Override CurveGroupName getName(); ImmutableMap<Pair<RepoGroup, Currency>, Curve> getRepoCurves(); ImmutableMap<Pair<LegalEntityGroup, Currency>, Curve> getIssuerCurves(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { LegalEntityCurveGroup test1 = LegalEntityCurveGroup.of(NAME1, REPO_CURVES, ISSUER_CURVES); coverImmutableBean(test1); LegalEntityCurveGroup test2 = LegalEntityCurveGroup.of(NAME1, ImmutableMap.of(), ImmutableMap.of()); coverBeanEquals(test1, test2); }
@Test public void test_serialization() { LegalEntityCurveGroup test = LegalEntityCurveGroup.of(NAME1, REPO_CURVES, ISSUER_CURVES); assertSerialization(test); }