public void op_JsonSerialize_object_whenGenericNullableTypeDefault(string expected)
        {
            var example = new GenericType <int?>();

            var actual = example.JsonSerialize();

            Assert.Equal(expected, actual);
        }
        public void op_JsonSerialize_object_whenGenericValueType(string expected)
        {
            var example = new GenericType <int>
            {
                Value = 123
            };

            var actual = example.JsonSerialize();

            Assert.Equal(expected, actual);
        }
        public void op_JsonSerialize_object_whenGenericReferenceTypeNull(string expected)
        {
            var example = new GenericType <AbsoluteUri>
            {
                Value = null
            };

            var actual = example.JsonSerialize();

            Assert.Equal(expected, actual);
        }
        public void op_JsonSerialize_object_whenGenericValueType(string expected)
        {
            var example = new GenericType<int>
                              {
                                  Value = 123
                              };

            var actual = example.JsonSerialize();

            Assert.Equal(expected, actual);
        }
        public void op_JsonSerialize_object_whenGenericReferenceTypeNull(string expected)
        {
            var example = new GenericType<AbsoluteUri>
                              {
                                  Value = null
                              };

            var actual = example.JsonSerialize();

            Assert.Equal(expected, actual);
        }
        public void op_JsonSerialize_object_whenGenericNullableTypeDefault(string expected)
        {
            var example = new GenericType<int?>();

            var actual = example.JsonSerialize();

            Assert.Equal(expected, actual);
        }