Esempio n. 1
0
        public void AddressCreate()
        {
            //setup
            Address a = CreateNewAddress();

            int preCount = TestHelper.CountTable("addresses");

            preCount += 1;
            //act
            Address made      = controller.CreateAddress(a);
            int     postCount = TestHelper.CountTable("addresses");

            //arrange
            Assert.AreEqual(preCount, postCount);
        }
Esempio n. 2
0
 public Address createAddress(string addressName, int zipcode)
 {
     return(locationController.CreateAddress(addressName, zipcode));
 }