/// <summary>
 /// Returns a thread-safe wrapper for SequenceInputDataStream.
 /// </summary>
 /// <param name="s"></param>
 /// <returns></returns>
 public static SequenceInputDataStream Synchronized(SequenceInputDataStream s)
 {
     return new SyncSequenceInputDataStream(s);
 }
 internal SyncSequenceInputDataStream(SequenceInputDataStream stream)
 {
     _stream = stream;
 }
        public void SetUp()
        {
            stream1 = new NullInputDataStream(Option<TimeSpan>.Some(TimeSpan.FromSeconds(0.1)));
            stream2 = new NullInputDataStream(Option<TimeSpan>.Some(TimeSpan.FromSeconds(0.1)));

            seqStream = new SequenceInputDataStream();
            seqStream.Add(stream1);
            seqStream.Add(stream2);
        }