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