public void FunctionManagementTest() { #region act var result = _target.FunctionManagement() as ViewResult; #endregion #region assert Assert.IsTrue(!string.IsNullOrEmpty(result.ViewName) && result.ViewName == "FunctionManagement"); #endregion }