public void TestGetRunInfoForDate()
        {
            var dal   = new DummyDal();
            var logic = new LogicImplementation(dal);

            var info = logic.GetRunInfoForDate(new DateTime(42).Date);

            Assert.IsTrue((dal.GetRunInfoForDateCalledCount > 0),
                          $"LogicLayerTests - \"GetRunInfoForDate\" does not call corresponding method from data access implementation!");
            Assert.IsTrue((info.IsEqual(dal.StoredInfo)),
                          $"LogicLayerTests - \"GetRunInfoForDate\" does not return RunInfo as passed by data access implementation !");
        }
        public void TestLogicOmitsTimeFromDate()
        {
            var dal   = new DummyDal();
            var logic = new LogicImplementation(dal);
            var date  = new DateTime(1234, 5, 6, 12, 12, 12);
            var info  = new RunInfo(321, new TimeSpan(0, 15, 30));

            logic.SetRunInfoForDate(date, info);
            Assert.IsTrue((date.Date == dal.RequestedDate),
                          $"LogicLayerTests - \"SetRunInfoForDate\" does not omit time info from Date when passing on to data access implementation !");
            info = logic.GetRunInfoForDate(date);
            Assert.IsTrue((date.Date == dal.RequestedDate),
                          $"LogicLayerTests - \"SetRunInfoForDate\" does not omit time info from Date when passing on to data access implementation !");
        }