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

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

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