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

            result.Should().Throw <ArgumentException>();
        }
Exemple #2
0
        public void TimeStampUpdateValidInput(string input, string expected)
        {
            string result = FileNameService.TimeStampUpdate(input);

            result.Should().Be(expected);
        }