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