public void YearUpdateValidString() { var returns = FileNameService.YearUpdate("1920"); returns.Should().Be("2021"); }
public void YearUpdateInvalidStringParameter(string s) { Action a = () => FileNameService.YearUpdate(s); a.Should().Throw <ArgumentException>(); }