Beispiel #1
0
        public void RemoveWishListTest()
        {
            AccountController a  = new AccountController();
            Account           ac = new Account();

            ac.ProfielNaam = "ZyXeMaster";
            ac.Wachtwoord  = "Password7";
            a.Login();
            ProductController  p = new ProductController();
            WenslijstViewModel w = new WenslijstViewModel();

            w.Naam = "Wensy";
            ViewResult result = p.AddWishList(w) as ViewResult;

            Assert.IsNotNull(result);
        }