Exemple #1
0
 public void count_SendToStatsd_Success()
 {
     Initialise();
     _outputChannel.Setup(p => p.SendAsync("foo.bar:1|c")).Verifiable();
     _statsd.count().foo.bar += 1;
     _outputChannel.VerifyAll();
 }
 public void Count_SendToStatsd_Success()
 {
     _outputChannel.Setup(p => p.SendAsync("foo.bar:1|c")).Returns(Task.FromResult(false)).Verifiable();
     _statsd.count().foo.bar += 1;
     _outputChannel.VerifyAll();
 }