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