public void TestParametrizedStateAfterInitialization() { var throttling = new DiagnoisticsEventThrottling(ThrottleAfterCountDefault); Assert.AreEqual( ThrottleAfterCountDefault, throttling.ThrottleAfterCount, "Unexpected ThrottleAfterCount state"); Assert.AreEqual(0, throttling.CollectSnapshot().Count, "Unexpected snapshot state"); }