public void MessageDetailsSuccess() { var response = (ViewResult)messageController.Details(1); var model = (PartialVM)response.Model; Assert.AreNotEqual("Message Details Success", model.PartialView); }