Blog.Common.Web.Tests.Attributes.BlogAuthorizationAttributeTest.ShouldDoNothingOnAuthenticationChallenge C# (CSharp) Метод

ShouldDoNothingOnAuthenticationChallenge() приватный Метод

private ShouldDoNothingOnAuthenticationChallenge ( ) : void
Результат void
        public void ShouldDoNothingOnAuthenticationChallenge()
        {
            var authChallengeContext = new Mock<AuthenticationChallengeContext>();
            var attribute = new BlogAuthorizationAttribute();
            
            Assert.DoesNotThrow(() => attribute.OnAuthenticationChallenge(authChallengeContext.Object));
        }
    }