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