### Question:
RatesCurveGroup implements CurveGroup, ImmutableBean, Serializable { public static RatesCurveGroup of(CurveGroupName name, Map<Currency, Curve> discountCurves, Map<Index, Curve> forwardCurves) { return new RatesCurveGroup(name, discountCurves, forwardCurves); } private  RatesCurveGroup(
      CurveGroupName name,
      Map<Currency, Curve> discountCurves,
      Map<? extends Index, ? extends Curve> forwardCurves); static RatesCurveGroup of(CurveGroupName name, Map<Currency, Curve> discountCurves, Map<Index, Curve> forwardCurves); static RatesCurveGroup ofCurves(RatesCurveGroupDefinition curveGroupDefinition, Curve... curves); static RatesCurveGroup ofCurves(RatesCurveGroupDefinition curveGroupDefinition, Collection<? extends Curve> curves); @Override Optional<Curve> findCurve(CurveName name); Optional<Curve> findDiscountCurve(Currency currency); Optional<Curve> findForwardCurve(Index index); @Override Stream<Curve> stream(); static RatesCurveGroup.Meta meta(); static RatesCurveGroup.Builder builder(); @Override RatesCurveGroup.Meta metaBean(); @Override CurveGroupName getName(); ImmutableMap<Currency, Curve> getDiscountCurves(); ImmutableMap<Index, Curve> getForwardCurves(); Builder toBuilder(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { RatesCurveGroup test = RatesCurveGroup.of(NAME, DISCOUNT_CURVES, IBOR_CURVES); coverImmutableBean(test); RatesCurveGroup test2 = RatesCurveGroup.of(NAME2, ImmutableMap.of(), ImmutableMap.of()); coverBeanEquals(test, test2); }
@Test public void test_serialization() { RatesCurveGroup test = RatesCurveGroup.of(NAME, DISCOUNT_CURVES, IBOR_CURVES); assertSerialization(test); }