public void GetWordsDictionary_ReturnsWordsDictionary()
        {
            var wordsDictionary = _wordsRepository.GetWordsDictionary();

            Assert.IsNotNull(wordsDictionary);
            Assert.IsTrue(wordsDictionary.Count > 0);
        }
        public string NumberToWords(decimal number)
        {
            if (number > MAX_VALUE || number < MIN_VALUE)
            {
                throw new ArgumentException($"Number cannot be greater than {MAX_VALUE.ToString()} or less than {MIN_VALUE.ToString()}.");
            }

            var indexes = new List <int> {
                0
            };

            _wordsDictionary = _wordRespository.GetWordsDictionary();

            return(BuildWordsFromNumber(number).ToUpper());
        }