private static void ValidateAddressResolutionStatistics(AddressResolutionStatistics stats)
        {
            Assert.IsTrue(stats.EndTime.HasValue);
            Assert.AreNotEqual(stats.StartTime, stats.EndTime.Value);
            Assert.IsTrue(stats.StartTime < stats.EndTime);
            Assert.IsFalse(string.IsNullOrWhiteSpace(stats.TargetEndpoint));

            string info = stats.ToString();

            Assert.IsNotNull(info);
            JObject jObject = JObject.Parse(info.ToString());

            Assert.IsNotNull(jObject["StartTimeUtc"].ToString());
            Assert.IsNotNull(jObject["EndTimeUtc"].ToString());
            Assert.IsNotNull(jObject["TargetEndpoint"].ToString());
        }