1 write to ForbidCount
Microsoft.AspNetCore.Authentication.Test (1)
10 references to ForbidCount
Microsoft.AspNetCore.Authentication.Test (10)
PolicyTests.cs (10)
79Assert.Equal(0, handler1.ForbidCount);
94Assert.Equal(1, handler1.ForbidCount);
135Assert.Equal(0, handler1.ForbidCount);
150Assert.Equal(1, handler1.ForbidCount);
196Assert.Equal(0, handler1.ForbidCount);
211Assert.Equal(1, handler1.ForbidCount);
248Assert.Equal(0, handler1.ForbidCount);
263Assert.Equal(1, handler1.ForbidCount);
305Assert.Equal(0, handler1.ForbidCount);
320Assert.Equal(1, handler1.ForbidCount);