public IEnumerator TestClientEvents_EmptyConfiguration_ShouldntThrowExceptionForDisabledClient() { Assert.IsFalse(BacktraceClient.Enabled); BacktraceClient.HandleUnhandledExceptions(); Assert.IsNull(BacktraceClient.OnServerError); Assert.IsNull(BacktraceClient.OnServerResponse); Assert.IsNull(BacktraceClient.BeforeSend); Assert.IsNull(BacktraceClient.RequestHandler); Assert.IsNull(BacktraceClient.OnUnhandledApplicationException); yield return(null); }