Esempio n. 1
0
        public void CallReset_AfterSerializingOnce_WithCustomSerializationForProperty_DoesNotPickUpFurtherConfigChangesForPropertyType()
        {
            var dto = new Dto {
                CustomFormatTypeProperty = new CustomFormatType(12345)
            };

            ConfigureCustomFormatType();
            TestRoundTripValue(dto);

            JsConfig.Reset();

            ConfigureCustomFormatType();
            JsConfig <Dto> .RefreshRead();

            TestRoundTripValue(dto);
        }