public void Play() { var controller = new HomeController(); var result = controller.Play() as ViewResult; Assert.IsNotNull(result); }
public void Index() { var controller = new HomeController(); var result = controller.Index() as ViewResult; Assert.AreEqual("Voracity", result.ViewBag.Message); }