Account account = qifImporterService.createAccount(Locale.US, institution, register);
assertNotNull("Account created", account);
assertEquals("Amount processed", new Double(20), new Double(account.calculateBalance().doubleValue()));
assertEquals("Account name processed", "Test account", account.getName());
assertEquals("Financial institution processed", institution, account.getHeldAt());
assertTrue("User correctly assumed", account.belongsTo(UserDetails.findCurrentUser()));
}
@Test
public void testGetOrCreatePayee() {
Register register = new Register();