public void increases_counter_with_value_of_X_and_sample_rate() { var s = new Statsd(_udp, _randomGenerator, _stopwatch); s.Send<Statsd.Counting>("counter", 5, 0.1); _udp.AssertWasCalled(x => x.Send("counter:5|c|@0.1")); }