public void UnknownRedisConnectionExceptionIsNotKnownUnobservedException()
        {
            var unknown = new UnknownRedisConnectionException("Message");

            Assert.False(
                ExceptionUtilities.IsKnownUnobservedException(unknown));

            Assert.False(ExceptionUtilities.IsKnownUnobservedException(new AggregateException(new Exception("1"), unknown)));
        }
        public void RedisConnectionExceptionIsKnownUnobservedException()
        {
            var redisException = new RedisConnectionException("Message");

            Assert.True(
                ExceptionUtilities.IsKnownUnobservedException(redisException));

            Assert.True(ExceptionUtilities.IsKnownUnobservedException(new AggregateException(new Exception("1"), redisException)));
        }