@Test
public void test() {
System.out.println("---------Erstelle Job");
HBCIJob job = handler.newJob("DauerSEPADel");
Konto acc = new Konto();
acc.blz = params.getProperty("target_blz");
acc.number = params.getProperty("target_number");
acc.name = "Kurt Mustermann";
acc.bic = params.getProperty("target_bic");
acc.iban = params.getProperty("target_iban");
int source_acc_idx = Integer.parseInt(params.getProperty("source_account_idx"));
job.setParam("src",passport.getAccounts()[source_acc_idx]);
job.setParam("dst",acc);
String value = params.getProperty("value");
if(value == null) value = "100";
job.setParam("btg",new Value(Integer.parseInt(value),"EUR"));
job.setParam("usage","SEPA Dauerauftrag");
job.setParam("firstdate", params.getProperty("firstdate"));
job.setParam("timeunit", "M");
job.setParam("turnus", "1");
job.setParam("execday", "1");
job.setParam("orderid", params.getProperty("orderid"));
System.out.println("---------F�r Job zur Queue");
job.addToQueue();
HBCIExecStatus ret = handler.execute();
HBCIJobResult res = job.getJobResult();
System.out.println("----------Result: "+res.toString());
Assert.assertEquals("Job Result ist nicht OK!", true, res.isOK());
}