use of com.forgerock.openbanking.common.services.store.accountrequest.AccountRequestStoreService in project openbanking-aspsp by OpenBankingToolkit.
the class AccountAccessConsentDecisionDelegateTest method setup.
@Before
public void setup() {
accountRequestStoreService = mock(AccountRequestStoreService.class);
consent = new FRAccountAccessConsent();
consent.setId(CONSENT_ID);
consent.setAispId(PISP_ID);
consent.setUserId(USER_ID);
consent.setObVersion(OBVersion.v3_1);
consent.setAccountAccessConsent(FRReadConsentResponse.builder().data(FRReadConsentResponseData.builder().statusUpdateDateTime(DateTime.now()).build()).build());
decisionDelegate = new AccountAccessConsentDecisionDelegate(getAccountStoreService(), OBJECT_MAPPER, accountRequestStoreService, consent);
}
Aggregations