### Question:
FxOptionVolatilitiesId implements NamedMarketDataId<FxOptionVolatilities>, ImmutableBean, Serializable { public static FxOptionVolatilitiesId of(String name) { return new FxOptionVolatilitiesId(FxOptionVolatilitiesName.of(name)); } private  FxOptionVolatilitiesId(
      FxOptionVolatilitiesName name); static FxOptionVolatilitiesId of(String name); static FxOptionVolatilitiesId of(FxOptionVolatilitiesName name); @Override Class<FxOptionVolatilities> getMarketDataType(); @Override MarketDataName<FxOptionVolatilities> getMarketDataName(); @Override String toString(); static TypedMetaBean<FxOptionVolatilitiesId> meta(); @Override TypedMetaBean<FxOptionVolatilitiesId> metaBean(); FxOptionVolatilitiesName getName(); @Override boolean equals(Object obj); @Override int hashCode();  }### Answer:
@Test public void coverage() { FxOptionVolatilitiesId test = FxOptionVolatilitiesId.of("Foo"); coverImmutableBean(test); FxOptionVolatilitiesId test2 = FxOptionVolatilitiesId.of("Bar"); coverBeanEquals(test, test2); }
@Test public void test_serialization() { FxOptionVolatilitiesId test = FxOptionVolatilitiesId.of("Foo"); assertSerialization(test); }