Exemplo n.º 1
0
        public OptionsParser(IList<string> options, DateTime currentDate)
        {
            _dateHelper = new DateHelper(currentDate);
              _currentDate = currentDate;
              _options = options;

              ParseOptions();
        }
Exemplo n.º 2
0
        public void DefaultConstructor_Should_Set_CurrentDate_To_Today()
        {
            var dh = new DateHelper();

              Assert.Equal(DateTime.Today, dh.CurrentDate);
        }