public void TimeLineIsDateOnTimeLineFalse()
        {
            var timePeriodCollection = EmploymentTimeLine(2018);

            var timeLine = new SimpleTimeLine.TimeLine(timePeriodCollection);

            Assert.False(timeLine.IsOnTimeLine(new DateTime(1998, 1, 1)));
        }
        public void TimeLineIsTimePeriodOnTimeLine()
        {
            var timePeriodCollection = EmploymentTimeLine(2018);

            var timeLine = new SimpleTimeLine.TimeLine(timePeriodCollection);
            var period   = new TimePeriod(new DateTime(2018, 1, 1), new DateTime(2018, 1, 31));

            Assert.True(timeLine.IsOnTimeLine(period));
        }