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