public string GetSleepNumber(int n)
        {
            logger.Debug("Starting {0}", n);

            NumberLogger numberLogger = new NumberLogger();

            for (var i = 1; i < MAX_EVALUATOR; i++)
            {
                int currentNumber = i * n;

                foreach (var number in currentNumber.ToString())
                {
                    numberLogger.LogNumber((int)Char.GetNumericValue(number));
                }

                if (numberLogger.IsAsleep())
                {
                    logger.Debug("Finished {0}, itterated {1} times", n, i);
                    return(currentNumber.ToString());
                }
            }

            logger.Debug("Finished {0}, itterated {1} times", n, MAX_EVALUATOR);

            return("INSOMNIA");
        }
        public void NumberLoggerIsNotAsleep()
        {
            var numberLogger = new NumberLogger();

            // Set up the scenario where the asleep would be true

            for (var i = 0; i < 9; i++)
            {
                numberLogger.LogNumber(i);
            }

            var results = numberLogger.IsAsleep();

            Assert.IsFalse(results);
        }