Exemple #1
0
        public void getAddressTest()
        {
            Address adress = AddressFactory.getAddress("123", "Rose Street", "Goodwood", "Cape Town", "7420");

            Assert.AreEqual("123", adress.StreetNumber);
            Assert.AreEqual("Rose Street", adress.StreetName);
            Assert.AreEqual("Goodwood", adress.Suburb);
            Assert.AreEqual("Cape Town", adress.City);
            Assert.AreEqual("7420", adress.PostCode);
        }