public void Should_not_fail_on_dispose() { var channel = new UdpChannel("localhost", 8125); var client = new BackgroundStatsdClient(channel); client.Dispose(); client.Dispose(); }
public BackgroundStatsdClientTests() { _channel = new LoggingChannel(); _client = new BackgroundStatsdClient(_channel); }