public void Returns_If_Timer_NotNull()
 {
     var stopwatchProvider = new StopwatchTimerProvider();
     var timer = new PerformanceTimerProviderFactory(stopwatchProvider);
     var monitor = timer.Start("test");
     Assert.NotNull(monitor);
 }
        public void Returns_Provider()
        {
            var stopwatchProvider = new StopwatchTimerProvider();
            var timer = new PerformanceTimerProviderFactory(stopwatchProvider);
            var provider = timer.GetProvider();

            Assert.NotNull(provider);
            Assert.Same(stopwatchProvider, provider);
        }
 public BudgerigarConfig()
 {
     var stopwatchProvider = new StopwatchTimerProvider();
     this.TimerProviderFactory = new PerformanceTimerProviderFactory(stopwatchProvider);
 }