public void ToUInt32Test() { Assert.Throws<InvalidCastException>(() => Convert.ToUInt32(DateTime.MaxValue)); }