* Test of paymentStringFromAccount method, of class SmartPayment.
*/
@Test
public void testPaymentStringFromAccountAmountAndAlternateAccounts() throws UnsupportedEncodingException {
System.out.println("paymentStringFromAccount");
SpaydPaymentAttributes parameters = new SpaydPaymentAttributes();
parameters.setBankAccount(new CzechBankAccount("19", "123", "0800"));
List<BankAccount> alternateAccounts = new LinkedList<BankAccount>();
alternateAccounts.add(new CzechBankAccount(null, "19", "5500"));
alternateAccounts.add(new CzechBankAccount(null, "19", "0100"));
parameters.setAlternateAccounts(alternateAccounts);
parameters.setAmount(100.5);
SpaydExtendedPaymentAttributeMap extendedParameters = null;
boolean transliterateParams = false;
String expResult = "SPD*1.0*ACC:CZ2408000000190000000123*ALT-ACC:CZ9755000000000000000019,CZ7301000000000000000019*AM:100.5";
String result = SpaydPayment.paymentStringFromAccount(parameters, extendedParameters, transliterateParams);
System.out.println(result);