Exemple #1
0
        public void CheckDeniedAccessTodelInConsumPageAboutalfData()
        {
            SenderMail      SenderMail = new SenderMail();
            ConsumPageAbout Page       = new ConsumPageAbout();

            SenderMail.PosName = "Администратор";
            bool Predict = false;
            bool result  = Page.CheckForDel(0);

            Assert.AreEqual(Predict, result);
        }
Exemple #2
0
        public void CheckDeniedAccessWithHalfDataTodelInOConsumPageAboutPage()
        {
            SenderMail      SenderMail = new SenderMail();
            ConsumPageAbout Page       = new ConsumPageAbout();

            SenderMail.PosName = "Менеджер";
            bool Predict = false;
            bool result  = Page.CheckForDel(2);

            Assert.AreEqual(Predict, result);
        }