### Question:
ExtendedScenarioMarketData implements ScenarioMarketData, ImmutableBean, Serializable { public static <T> ExtendedScenarioMarketData<T> of( MarketDataId<T> id, MarketDataBox<T> value, ScenarioMarketData underlying) { return new ExtendedScenarioMarketData<T>(id, value, underlying); } private  ExtendedScenarioMarketData(
      MarketDataId<T> id,
      MarketDataBox<T> value,
      ScenarioMarketData underlying); static ExtendedScenarioMarketData<T> of(
      MarketDataId<T> id,
      MarketDataBox<T> value,
      ScenarioMarketData underlying); @Override MarketDataBox<LocalDate> getValuationDate(); @Override int getScenarioCount(); @Override boolean containsValue(MarketDataId<?> id); @Override @SuppressWarnings("unchecked") MarketDataBox<R> getValue(MarketDataId<R> id); @Override @SuppressWarnings("unchecked") Optional<MarketDataBox<R>> findValue(MarketDataId<R> id); @Override Set<MarketDataId<?>> getIds(); @Override @SuppressWarnings("unchecked") Set<MarketDataId<R>> findIds(MarketDataName<R> name); @Override Set<ObservableId> getTimeSeriesIds(); @Override LocalDateDoubleTimeSeries getTimeSeries(ObservableId id); static MetaBean meta(); @Override @SuppressWarnings("unchecked") TypedMetaBean<ExtendedScenarioMarketData<T>> metaBean(); MarketDataId<T> getId(); MarketDataBox<T> getValue(); ScenarioMarketData getUnderlying(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { ExtendedScenarioMarketData<String> test = ExtendedScenarioMarketData.of(ID1, VAL1, BASE_DATA); coverImmutableBean(test); ExtendedScenarioMarketData<String> test2 = ExtendedScenarioMarketData.of( ID2, VAL2, ImmutableScenarioMarketData.of(3, VAL_DATE, ImmutableMap.of(), ImmutableMap.of())); coverBeanEquals(test, test2); }
@Test public void serialization() { ExtendedScenarioMarketData<String> test = ExtendedScenarioMarketData.of(ID1, VAL3, BASE_DATA); assertSerialization(test); }