public virtual void stream() { MarketDataBox <int> box = MarketDataBox.ofScenarioValues(27, 28, 29); IList <int> list = box.ToList(); assertThat(list).isEqualTo(ImmutableList.of(27, 28, 29)); }
public virtual void stream() { MarketDataBox <int> box = MarketDataBox.ofSingleValue(27); IList <int> list = box.ToList(); assertThat(list).isEqualTo(ImmutableList.of(27)); }