public void CanSetAndReset_QueueCounter() { var counter = new PerformanceCounter(CategoryName, MemoryQueue); // arrange _counters.CurrentMemoryQueueSize = 10; Assert.AreEqual(10, counter.RawValue); // act _counters.ResetCounters(); // assert Assert.AreEqual(0, counter.RawValue); }