public void ShouldDeserialiseStringRepresentationToObject()
 {
     var p = new TestGeoPointParameters()
     {
         BBox = "[2.123, -3.213234] [2.123, -3.213234]",
         Point = "2.1,3.4"
     };
     var json = JsonConvert.SerializeObject(p);
     var p2 = JsonConvert.DeserializeObject<TestGeoPointOutParameters>(json);
 }
        public void ShouldDeserialiseStringRepresentationToObject()
        {
            var p = new TestGeoPointParameters()
            {
                BBox  = "[2.123,-3.213234][2.123,-3.213234]",
                Point = "2.1,3.4"
            };
            var json = JsonConvert.SerializeObject(p);
            var p2   = JsonConvert.DeserializeObject <TestGeoPointOutParameters>(json);

            p2.BBox.ToString().Should().BeEquivalentTo(p.BBox);
            p2.Point.ToString().Should().BeEquivalentTo(p.Point);
        }