public void Class_ShouldHaveAdminAuthorizeAttribute() { // Act & Assert AttributeTester.EnsureClassHasAdminAuthorizationAttribute(typeof(UsersController)); }
public void HasAdminAuthorizationAttribute_Always(Type attrType) { // Arrange & Act & Assert AttributeTester.EnsureClassHasAdminAuthorizationAttribute(typeof(AdminController)); }