public void ReadProductOutOfSpec()
        {
            ProductValue value = new ProductValue(Example_V_0_1_OutOfSpec);
            Assert.IsNull(value.Name);

            var urls = value.URLs;
            Assert.AreEqual(1, urls.Count());
            Assert.AreEqual("https://github.com/khalahan/namecoin", urls.First());

            Assert.IsNull(value.Signer);
        }
        public async void UpdateProductInfo()
        {
            var apiClient = new ApiClient();
            var meowbit = await apiClient.GetProduct(prodNameMeowBit);
            if (meowbit != null)
                MeowBit = meowbit;

            var dotbitns = await apiClient.GetProduct(prodNameDotBitNs);
            if (dotbitns != null)
                DotBitNs = dotbitns;
        }
        public void ReadProductPropertyBasic()
        {
            ProductValue value = new ProductValue(Example_V_0_1_Example);

            Assert.AreEqual("Namecoin", value.Name);

            var urls = value.URLs;
            Assert.IsTrue(urls.Contains("http://namecoin.info/"));
            Assert.IsTrue(urls.Contains("https://github.com/khalahan/namecoin"));

            Assert.AreEqual("id/dotbit", value.Producer);
            Assert.AreEqual("id/khal", value.Author);
            Assert.AreEqual("0.3.72", value.Version);
        }