public void UninitializableDateTimeConverter_SerializesToEmptyStringWhenPropertyIsDateTimeOffsetMinValue()
        {
            var testEntity = new UninitializableDateTimeConverterTestEntity {
                Created = DateTimeOffset.MinValue
            };

            Assert.AreEqual("{\"Created\":\"\"}", JsonConvert.SerializeObject(testEntity));
        }
        public void UninitializableDateTimeConverter_SerializesToExpectedString()
        {
            var expectedDate = "2019-08-12T12:00:00-06:00";
            var testEntity   = new UninitializableDateTimeConverterTestEntity {
                Created = DateTimeOffset.Parse(expectedDate)
            };

            Assert.AreEqual($"{{\"Created\":\"{expectedDate}\"}}", JsonConvert.SerializeObject(testEntity));
        }