public void RejectInsertionOrderAsPublisher()
 {
     _manageMultipleInsertionOrderPage.ClickIoStatusLink();
     _viewInsertionOrderPage.ClickRejectButton();
     _rejectInsertionOrderFrame.PopulateFieldsThenClickReject();
     Assert.AreEqual("The IO has been successfully rejected", _viewInsertionOrderPage.GetMsgText());
 }
 public void RejectInsertionOrderAsAgency()
 {
     ClickPendingIOStatusLink();
     _viewInsertionOrderPage.ClickRejectButton();
     _rejectInsertionOrderFrame.PopulateFieldsThenClickReject();
     Assert.AreEqual("The IO has been successfully rejected", _viewInsertionOrderPage.GetMsgText());
 }