public void IgnoreNullValues_Object_Test()
        {
            var client = GetTestClient(NullValueHandling.Ignore);

            var doc = new PartialDoc
            {
                Name      = "newname",
                StartedOn = null
            };

            var expected = @"{ name: ""newname"" }";
            var json     = Encoding.UTF8.GetString(client.Serializer.Serialize(doc));

            Assert.True(json.JsonEquals(expected), json);
        }
		public void IgnoreNullValues_Object_Test()
		{
			var client = GetTestClient(NullValueHandling.Ignore);

			var doc = new PartialDoc
			{
				Name = "newname",
				StartedOn = null
			};

			var expected = @"{ name: ""newname"" }";
			var json = Encoding.UTF8.GetString(client.Serializer.Serialize(doc));

			Assert.True(json.JsonEquals(expected), json);
		}