public static void IsLeapYear_InvalidYear_ThrowsArgumentOutOfRangeException() { Assert.Throws<ArgumentOutOfRangeException>("year", () => DateTime.IsLeapYear(0)); Assert.Throws<ArgumentOutOfRangeException>("year", () => DateTime.IsLeapYear(10000)); }