Blog.Common.Web.Tests.Attributes.BlogAuthorizationAttributeTest.ShouldDoNothingOnAuthenticationChallenge C# (CSharp) Method

ShouldDoNothingOnAuthenticationChallenge() private method

private ShouldDoNothingOnAuthenticationChallenge ( ) : void
return void
        public void ShouldDoNothingOnAuthenticationChallenge()
        {
            var authChallengeContext = new Mock<AuthenticationChallengeContext>();
            var attribute = new BlogAuthorizationAttribute();
            
            Assert.DoesNotThrow(() => attribute.OnAuthenticationChallenge(authChallengeContext.Object));
        }
    }