public void ConstructWithoutProvider() { //check to make sure the constructor doesn't blow var t = new Statsd(new StatsdOptions() { OnExceptionGenerated = (exception) => { throw exception; } }); t.CountAsync("awesome").GetAwaiter().GetResult(); t.Dispose(); }