public void Validate_ToDateNull_Fails()
            {
                var input = new PeriodLookupInput()
                {
                    EffectDateFrom = DateTime.Today, EffectDateTo = null, UUIDs = new string[] { Guid.NewGuid().ToString() }
                };
                var ret = input.Validate();

                Assert.AreEqual("400", ret.StatusKode);
                Assert.AreEqual(DateTime.Today, input.EffectDateFrom);
                Assert.Null(input.EffectDateTo);
            }
            public void Validate_InvalidDatesDates_Fails()
            {
                DateTime date  = DateTime.Today.AddDays(-1);
                var      input = new PeriodLookupInput()
                {
                    EffectDateFrom = date.AddDays(1), EffectDateTo = date, UUIDs = new string[] { Guid.NewGuid().ToString() }
                };
                var ret = input.Validate();

                Assert.AreEqual("400", ret.StatusKode);
                Assert.AreEqual(date.AddDays(1), input.EffectDateFrom);
                Assert.AreEqual(date, input.EffectDateTo);
            }