Ejemplo n.º 1
0
        public void CheckDeniedAccessWithHalfDataTodelInOConsumablePage()
        {
            SenderMail     SenderMail = new SenderMail();
            ConsumablePage Page       = new ConsumablePage();

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

            Assert.AreEqual(Predict, result);
        }
Ejemplo n.º 2
0
        public void CheckDeniedAccessTodelInConsumablePagealfData()
        {
            SenderMail     SenderMail = new SenderMail();
            ConsumablePage Page       = new ConsumablePage();

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

            Assert.AreEqual(Predict, result);
        }
Ejemplo n.º 3
0
        public void CheckGrantedAccessTodelInConsumablePage()
        {
            SenderMail     SenderMail = new SenderMail();
            ConsumablePage Page       = new ConsumablePage();

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

            Assert.AreEqual(Predict, result);
        }