public void Links_Index_SetViewBag_Success()
 {
     LinksController controller = new LinksController(mock);
     ViewResult result = controller.Index() as ViewResult;
     Assert.IsTrue(result.ViewBag.Mode == "_noItemDisplay");
 }
 public void Links_Index_SetResult_Success()
 {
     LinksController controller = new LinksController(mock);
     ViewResult result = controller.Index() as ViewResult;
     Assert.IsNotNull(result);
 }