public void Setup() { _statsd = new Mock <IVeStatsDClient>(); _statsd.Setup(x => x.LogGauge(It.IsAny <string>(), It.IsAny <int>(), It.IsAny <Dictionary <string, string> >())); _metric = new Threads(); _metric.Execute(_statsd.Object); }