public void FindAllInstallmentTypes()
        {
            List<InstallmentType> list = new List<InstallmentType>();
            list.Add(_monthly);
            list.Add(_biWeekly);
            mockInstallmentTypeManagement.SetReturnValue("SelectAllInstallmentTypes",list);
            installmentTypeManagement = (InstallmentTypeManager)mockInstallmentTypeManagement.MockInstance;
            ProductServices productServices = new ProductServices(installmentTypeManagement);

            Assert.AreEqual(2, productServices.FindAllInstallmentTypes().Count);
        }
        public void FindAllInstallmentsTypesWhenNoResult()
        {
            List<InstallmentType> list = new List<InstallmentType>();

            mockInstallmentTypeManagement.SetReturnValue("SelectAllInstallmentTypes", list);
            installmentTypeManagement = (InstallmentTypeManager)mockInstallmentTypeManagement.MockInstance;
            ProductServices productServices = new ProductServices(installmentTypeManagement);

            Assert.AreEqual(0, productServices.FindAllInstallmentTypes().Count);
        }