public void testThatSecurityIsCreatedIfNotFound_whenImportingAccountTransactions() throws ParseException
{
Client client = buildClient();
Account account = client.getAccounts().get(0);
AccountTransactionDef def = new AccountTransactionDef();
def.build(client, account, //
new String[] { "2013-01-01", "DE000BASF111", "BAS.DE", "BASF11", "100", "" }, //
buildField2Column(def));
AccountTransaction t = account.getTransactions().get(account.getTransactions().size() - 1);
assertThat(t.getAmount(), is(100L * Values.Amount.factor()));