public void Enable_Disable() { var tracer = new TestTracer(); Assert.False(tracer.IsEnabled("TestEvent")); tracer.Enable("TestEvent"); Assert.True(tracer.IsEnabled("TestEvent")); tracer.Disable("TestEvent"); Assert.False(tracer.IsEnabled("TestEvent")); }