Search in sources :

Example 6 with RepaymentScheduleInstallmentBuilder

use of org.mifos.accounts.loan.util.helpers.RepaymentScheduleInstallmentBuilder in project head by mifos.

the class ListOfInstallmentsValidatorTest method setupAndInjectDependencies.

@Before
public void setupAndInjectDependencies() {
    locale = new Locale("en", "GB");
    installmentBuilder = new RepaymentScheduleInstallmentBuilder(locale);
    listOfInstallmentsValidator = new ListOfInstallmentsValidatorImpl();
}
Also used : Locale(java.util.Locale) RepaymentScheduleInstallmentBuilder(org.mifos.accounts.loan.util.helpers.RepaymentScheduleInstallmentBuilder) Before(org.junit.Before)

Example 7 with RepaymentScheduleInstallmentBuilder

use of org.mifos.accounts.loan.util.helpers.RepaymentScheduleInstallmentBuilder in project head by mifos.

the class InstallmentFormatValidatorTest method setupAndInjectDependencies.

@Before
public void setupAndInjectDependencies() {
    installmentBuilder = new RepaymentScheduleInstallmentBuilder(new Locale("en", "GB"));
    rupeeCurrency = new MifosCurrency(Short.valueOf("1"), "Rupee", BigDecimal.valueOf(1), "INR");
    installmentFormatValidator = new InstallmentFormatValidatorImpl();
}
Also used : Locale(java.util.Locale) RepaymentScheduleInstallmentBuilder(org.mifos.accounts.loan.util.helpers.RepaymentScheduleInstallmentBuilder) MifosCurrency(org.mifos.application.master.business.MifosCurrency) Before(org.junit.Before)

Aggregations

Locale (java.util.Locale)7 Before (org.junit.Before)7 RepaymentScheduleInstallmentBuilder (org.mifos.accounts.loan.util.helpers.RepaymentScheduleInstallmentBuilder)7 MifosCurrency (org.mifos.application.master.business.MifosCurrency)5 ActionErrors (org.apache.struts.action.ActionErrors)1 InstallmentsValidatorImpl (org.mifos.accounts.loan.business.service.validators.InstallmentsValidatorImpl)1 PaymentDataHtmlBean (org.mifos.accounts.loan.struts.uihelpers.PaymentDataHtmlBean)1