public void GetSinglePostcodeInformation()
        {
            PostcodeApiClient client = new PostcodeApiClient(ApiKey);
            PostcodeArea      result = client.GetPostcode("1097JR");

            Assert.IsNotNull(result);
            Assert.AreEqual(1, result.Streets.Count);
            Assert.AreEqual("Pierre Lallementstraat", result.Streets[0]);
            Assert.AreEqual("Amsterdam", result.City.Label);
        }
Exemplo n.º 2
0
        public void GetSinglePostcode()
        {
            PostcodeView result = _client.GetPostcode("6545CA");

            Assert.IsNotNull(result);
        }