public void TestToDateTime_UnderflowNanoseconds()
        {
            var source = new Timestamp(MessagePackConvert.FromDateTimeOffset(DateTimeOffset.MinValue) - 1L, 999999999);

            Assert.Throws <InvalidOperationException>(() => source.ToDateTime());
        }
        public void TestToDateTime_UnderflowSeconds()
        {
            var source = new Timestamp(MessagePackConvert.FromDateTimeOffset(DateTimeOffset.MinValue) - 1L, checked (( int )(DateTimeOffset.MinValue.Ticks % 10000000 * 100)));

            Assert.Throws <InvalidOperationException>(() => source.ToDateTime());
        }