public void ReturnAListOfSelectListItemsBasedOnTheCurrencyTypes()
        {
            var currencyTypes = new List<CurrencyType>
                {
                    new CurrencyType
                        {
                            CurrencyName = "Test 1",
                            CurrencyTypeId = 1
                        },
                    new CurrencyType
                        {
                            CurrencyName = "Test 2",
                            CurrencyTypeId = 2
                        }
                };

            var selectListBuilder = new CurrencyTypeSelectListBuilder();

            var result = selectListBuilder.BuildSelectListItemsForCurrencyTypes(currencyTypes).ToList();

            Assert.AreEqual(currencyTypes.Count, result.Count);
            Assert.AreEqual(currencyTypes[0].CurrencyName, result[0].Text);
            Assert.AreEqual(currencyTypes[0].CurrencyTypeId.ToString(), result[0].Value);
            Assert.AreEqual(currencyTypes[1].CurrencyName, result[1].Text);
            Assert.AreEqual(currencyTypes[1].CurrencyTypeId.ToString(), result[1].Value);
        }
        public void ReturnAnEmptyListIfThereWereNoCurrencyTypes()
        {
            var currencyTypes = new List<CurrencyType>();

            var selectListBuilder = new CurrencyTypeSelectListBuilder();

            var result = selectListBuilder.BuildSelectListItemsForCurrencyTypes(currencyTypes);

            Assert.IsEmpty(result);
        }