public void GetInformationTestZero()
        {
            string  name   = "Garima";
            decimal amount = Convert.ToDecimal("0.0");

            RepositoryDecimalToText _testTens = new RepositoryDecimalToText();
            InformationModel        info      = _testTens.GetInformation(name, amount);

            // Assert
            Assert.IsNotNull(info);
            Assert.AreEqual("Garima", info.MyName);
            Assert.AreEqual("ZERO DOLLARS AND ZERO CENTS", info.MyCurrentcyNumberText);
        }
        public void GetInformationTestForOneMillion()
        {
            string  name   = "Garima";
            decimal amount = Convert.ToDecimal("1000001.55");

            RepositoryDecimalToText _testTens = new RepositoryDecimalToText();
            InformationModel        info      = _testTens.GetInformation(name, amount);

            // Assert
            Assert.IsNotNull(info);
            Assert.AreEqual("Garima", info.MyName);
            Assert.AreEqual("ONE MILLION ONE DOLLARS AND FIFTY FIVE CENTS", info.MyCurrentcyNumberText);
        }
        public void GetInformationTest()
        {
            //Arrange
            string  name   = "Garima";
            decimal amount = Convert.ToDecimal("102.55");

            // Act
            RepositoryDecimalToText _testTens = new RepositoryDecimalToText();
            InformationModel        info      = _testTens.GetInformation(name, amount);

            //Assert
            Assert.IsNotNull(info);
            Assert.AreEqual("Garima", info.MyName);
            Assert.AreEqual("ONE HUNDRED TWO DOLLARS AND FIFTY FIVE CENTS", info.MyCurrentcyNumberText);
        }