Exemple #1
0
        public void DateUpdateIvalidDate(string date)
        {
            Action result = () => FileNameService.DateStampUpdate(date);

            result.Should().Throw <ArgumentException>();
        }
Exemple #2
0
        public void DateUpdateValidDate()
        {
            string result = FileNameService.DateStampUpdate("20190101");

            result.Should().Be("20200101");
        }