Example #1
0
 private void FireAuthorizationCheckPerformed()
 {
     for (int i = 0; i < numberOfEvents; i++)
     {
         try
         {
             instrumentationProvider.FireAuthorizationCheckPerformed(identity, taskName);
         }
         catch (Exception)
         { }
     }
 }
        public void TotalAuthorizationCheckPerformedCounterIncremented()
        {
            enabledInstrumentationProvider.FireAuthorizationCheckPerformed("foo", "bar");

            Assert.AreEqual(1, totalAuthorizationCheckPerformedCounter.Value);
        }