Esempio n. 1
0
        public void when_calling_send_critical_exception_task_returns_and_can_be_used()
        {
            var       client    = new RollbarClient();
            Exception exception = new NotImplementedException();

            var task = client.SendCriticalException(exception);

            Assert.IsNotNull(task);
            Assert.DoesNotThrow(() => task.Wait(0));
        }