public void Can_serialise_an_entity_with_a_polymorphic_list()
		{
			var zoo = new Zoo {
				Name = @"City Zoo"
			};

			string asText = JsonSerializer.SerializeToString(zoo);

			Log(asText);

			Assert.That(
				asText,
				Is.EqualTo(
					"{\"Animals\":[{\"__type\":\""
					+ typeof(Dog).ToTypeString()
					+ "\",\"Name\":\"Fido\",\"DogBark\":\"woof\"},{\"__type\":\""
					+ typeof(Cat).ToTypeString()
					+ "\",\"Name\":\"Tigger\",\"CatMeow\":\"meow\"}],\"Name\":\"City Zoo\"}"));
		}
		public void Can_serialise_an_entity_with_a_polymorphic_list()
		{
			var zoo = new Zoo
				{
					Name = @"City Zoo"
				};

			string asText = JsonSerializer.SerializeToString(zoo);

			Log(asText);

			Assert.That(
				asText,
				Is.EqualTo(
					"{\"Animals\":[{\"__type\":\"Dog:#ServiceStack.Text.Tests.JsonTests\",\"Name\":\"Fido\",\"Noise\":\"Bark\",\"Age\":1},{\"__type\":\"Cat:#ServiceStack.Text.Tests.JsonTests\",\"Name\":\"Tigger\",\"IsWild\":true,\"Age\":2}],\"Name\":\"City Zoo\"}" ) ) ;
		}