1 write to CalledCount
Microsoft.AspNetCore.Authorization.Test (1)
AuthorizationMiddlewareTests.cs (1)
1080CalledCount++;
16 references to CalledCount
Microsoft.AspNetCore.Authorization.Test (16)
AuthorizationMiddlewareTests.cs (16)
211Assert.Equal(1, next.CalledCount); 216Assert.Equal(2, next.CalledCount); 221Assert.Equal(3, next.CalledCount); 261Assert.Equal(1, next.CalledCount); 266Assert.Equal(2, next.CalledCount); 271Assert.Equal(3, next.CalledCount); 311Assert.Equal(1, next.CalledCount); 316Assert.Equal(2, next.CalledCount); 321Assert.Equal(3, next.CalledCount); 371Assert.Equal(1, next.CalledCount); 376Assert.Equal(2, next.CalledCount); 381Assert.Equal(3, next.CalledCount); 405Assert.Equal(1, next.CalledCount); 410Assert.Equal(2, next.CalledCount); 415Assert.Equal(3, next.CalledCount); 1070public bool Called => CalledCount > 0;