private static SelectPlusOneLoggerProvider InitializeLoggerProviderForTesting(int count = 20, int treshold = 20)
        {
            var provider = new SelectPlusOneLoggerProvider(treshold);
            var logger   = provider.CreateLogger(null);

            for (int i = 0; i < count; i++)
            {
                logger.Log <object>(LogLevel.Critical, new EventId(i), null, null, null);
            }

            return(provider);
        }
        private static SelectPlusOneLoggerProvider InitializeLoggerProviderForTesting(int count = 20, int treshold = 20)
        {
            var provider = new SelectPlusOneLoggerProvider(treshold);
            var logger   = provider.CreateLogger(null);

            for (int i = 0; i < count; i++)
            {
                logger.Log(LogLevel.Critical, new EventId(i), new DbCommandLogData("hoi", System.Data.CommandType.Text, 0, new List <DbParameterLogData>().AsReadOnly(), null), null, null);
            }

            return(provider);
        }