Exemple #1
0
        public void YearUpdateValidString()
        {
            var returns = FileNameService.YearUpdate("1920");

            returns.Should().Be("2021");
        }
Exemple #2
0
        public void YearUpdateInvalidStringParameter(string s)
        {
            Action a = () => FileNameService.YearUpdate(s);

            a.Should().Throw <ArgumentException>();
        }