Search in sources :

Example 1 with Status

use of name.abuchen.portfolio.datatransfer.ImportAction.Status in project portfolio by buchen.

the class ConsorsbankPDFExtractorTest method checkCurrency.

private void checkCurrency(final String accountCurrency, AccountTransaction transaction) {
    Account account = new Account();
    account.setCurrencyCode(accountCurrency);
    Status status = new CheckCurrenciesAction().process(transaction, account);
    assertThat(status.getCode(), is(Code.OK));
}
Also used : Status(name.abuchen.portfolio.datatransfer.ImportAction.Status) Account(name.abuchen.portfolio.model.Account) CheckCurrenciesAction(name.abuchen.portfolio.datatransfer.actions.CheckCurrenciesAction)

Aggregations

Status (name.abuchen.portfolio.datatransfer.ImportAction.Status)1 CheckCurrenciesAction (name.abuchen.portfolio.datatransfer.actions.CheckCurrenciesAction)1 Account (name.abuchen.portfolio.model.Account)1