public void ClearRoleFunctionByRoleIDTest() { #region arrange (測試成功) List <FunctionCheckVO> functionCheckVO = new List <FunctionCheckVO>() { }; string roleID = "1"; string reMessage = string.Empty; _functionBO.Stub(o => o.ClearRoleFunctionByRoleID(Arg <string> .Is.Anything)).Return(reMessage); #endregion #region act var result = _target.ClearRoleFunctionByRoleID(roleID); #endregion #region assert Assert.AreEqual(result, reMessage); #endregion }