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

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

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