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

            var task = client.SendErrorException(exception);

            Assert.IsNotNull(task);
            Assert.DoesNotThrow(() => task.Wait(0));
        }
Esempio n. 2
0
        public void ItPushesErrorsUpToTheServer()
        {
            RollbarClient rollbarClient = new RollbarClient();

            rollbarClient.SendErrorException(new Exception("Integration Test"));
        }