### Question:
RepeatedScenarioMarketData implements ScenarioMarketData, ImmutableBean, Serializable { public static RepeatedScenarioMarketData of(int scenarioCount, MarketData marketData) { return new RepeatedScenarioMarketData(scenarioCount, marketData); } RepeatedScenarioMarketData(
      int scenarioCount,
      MarketData underlying); static RepeatedScenarioMarketData of(int scenarioCount, MarketData marketData); @Override MarketDataBox<LocalDate> getValuationDate(); @Override Stream<MarketData> scenarios(); @Override MarketData scenario(int scenarioIndex); @Override boolean containsValue(MarketDataId<?> id); @SuppressWarnings("unchecked") @Override MarketDataBox<T> getValue(MarketDataId<T> id); @SuppressWarnings("unchecked") @Override Optional<MarketDataBox<T>> findValue(MarketDataId<T> id); @Override Set<MarketDataId<?>> getIds(); @Override @SuppressWarnings("unchecked") Set<MarketDataId<T>> findIds(MarketDataName<T> name); @Override Set<ObservableId> getTimeSeriesIds(); @Override LocalDateDoubleTimeSeries getTimeSeries(ObservableId id); static RepeatedScenarioMarketData.Meta meta(); @Override RepeatedScenarioMarketData.Meta metaBean(); @Override int getScenarioCount(); MarketData getUnderlying(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void coverage() { RepeatedScenarioMarketData test = RepeatedScenarioMarketData.of(2, BASE_DATA); coverImmutableBean(test); RepeatedScenarioMarketData test2 = RepeatedScenarioMarketData.of(1, baseData2()); coverBeanEquals(test, test2); }
@Test public void serialization() { RepeatedScenarioMarketData test = RepeatedScenarioMarketData.of(2, BASE_DATA); assertSerialization(test); }