public void SetWorkerParamsNullAndStartExporter()
        {
            var svc = new ExportDataService <Task>();

            Assert.DoesNotThrow(() => svc.PassWorkerParams(null));
            Assert.DoesNotThrow(() => svc.Start(null));
            Assert.DoesNotThrow(() => svc.ForceWait());
            Assert.DoesNotThrow(() => svc.Stop(null));
        }
        public void SetWorkerParamsAndStartExporter()
        {
            var svc = new ExportDataService <Task>();

            Assert.DoesNotThrow(() => svc.PassWorkerParams(new List <TypedParameter>
            {
                new TypedParameter(typeof(int), 5)
            }));
            Assert.DoesNotThrow(() => svc.Start(null));
            Assert.DoesNotThrow(() => svc.ForceWait());
            Assert.DoesNotThrow(() => svc.Stop(null));
        }