// http://mifosforge.jira.com/browse/MIFOSTEST-139 public void createVoluntarySavingsProductForCenters() throws Exception { SavingsProductParameters params = savingsProductHelper.getGenericSavingsProductParameters( new DateTime(), SavingsProductParameters.VOLUNTARY, SavingsProductParameters.CENTERS); params.setShortName("M139"); DefineNewSavingsProductConfirmationPage confirmationPage = savingsProductHelper.createSavingsProduct(params); confirmationPage.navigateToSavingsProductDetails(); createSavingAccountWithCreatedProduct( "DefineNewSavingsProductTestCenter", params.getProductInstanceName(), "7777.8"); }
// http://mifosforge.jira.com/browse/MIFOSTEST-138 public void createMandatorySavingsProductForClients() throws Exception { SavingsProductParameters params = savingsProductHelper.getGenericSavingsProductParameters( new DateTime(), SavingsProductParameters.MANDATORY, SavingsProductParameters.CLIENTS); params.setShortName("M138"); DefineNewSavingsProductConfirmationPage confirmationPage = savingsProductHelper.createSavingsProduct(params); confirmationPage.navigateToSavingsProductDetails(); createSavingAccountWithCreatedProduct( "DefineNewSavingsProduct TestClient", params.getProductInstanceName(), "248"); }