public void SetUp()
        {
            response = new Response();

            stream = new ResponseInputDataStream(response, Option<TimeSpan>.Some(TimeSpan.FromSeconds(3)));
        }
        public void PushInputDataAllowsForDataGranularity()
        {
            var srate = new Measurement(1, "Hz");
            IList<IMeasurement> list = new List<IMeasurement>() { new Measurement(1, "V") };

            var grainyData = new InputData(list, srate, DateTime.Now);

            var dur = TimeSpan.FromSeconds(0.6);
            var shortStream = new ResponseInputDataStream(response, Option<TimeSpan>.Some(dur));

            var cons = grainyData.SplitData(dur);

            Assert.DoesNotThrow(() => shortStream.PushInputData(cons.Head));
        }