### Question:
LegalEntityCurveGroupId implements MarketDataId<LegalEntityCurveGroup>, ImmutableBean, Serializable { public static LegalEntityCurveGroupId of(String groupName) { return new LegalEntityCurveGroupId(CurveGroupName.of(groupName), ObservableSource.NONE); } private  LegalEntityCurveGroupId(
      CurveGroupName curveGroupName,
      ObservableSource observableSource); static LegalEntityCurveGroupId of(String groupName); static LegalEntityCurveGroupId of(CurveGroupName groupName); static LegalEntityCurveGroupId of(CurveGroupName groupName, ObservableSource obsSource); @Override Class<LegalEntityCurveGroup> getMarketDataType(); @Override String toString(); static TypedMetaBean<LegalEntityCurveGroupId> meta(); @Override TypedMetaBean<LegalEntityCurveGroupId> metaBean(); CurveGroupName getCurveGroupName(); ObservableSource getObservableSource(); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void coverage() { LegalEntityCurveGroupId test = LegalEntityCurveGroupId.of(GROUP1); coverImmutableBean(test); LegalEntityCurveGroupId test2 = LegalEntityCurveGroupId.of(GROUP2, OBS_SOURCE2); coverBeanEquals(test, test2); }
@Test public void test_serialization() { LegalEntityCurveGroupId test = LegalEntityCurveGroupId.of(GROUP1); assertSerialization(test); }