예제 #1
0
 public void HelpController_Edit_HttpGet_CheckRole_RoleIsAdministrator()
 {
     Assert.AreEqual(UserRoles.Administrator, _controller.GetMethodAttributeValue("Edit", (AuthorizeAttribute att) => att.Roles, new Type[] { typeof(string) }));
 }