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); }
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); }
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); }