### Question:
AisConsentMapper { public AccountAccess mapToAccountAccess(AisAccountAccess accountAccess) { return new AccountAccess(ListUtils.emptyIfNull(accountAccess.getAccounts()), ListUtils.emptyIfNull(accountAccess.getBalances()), ListUtils.emptyIfNull(accountAccess.getTransactions()), accountAccess.getAccountAdditionalInformationAccess()); }  CmsAisAccountConsent mapToCmsAisAccountConsent(ConsentEntity consent, List<AuthorisationEntity> authorisations); AisConsent mapToAisConsent(ConsentEntity entity, List<AuthorisationEntity> authorisations); AccountAccess mapToAccountAccess(AisAccountAccess accountAccess);  }### Answer:
@Test void mapToAccountAccess() { AisAccountAccess aisAccountAccess = jsonReader .getObjectFromFile("json/service/mapper/ais-consent-mapper/ais-account-access.json", AisAccountAccess.class); AccountAccess result = aisConsentMapper.mapToAccountAccess(aisAccountAccess); AccountAccess expected = jsonReader. getObjectFromFile("json/service/mapper/ais-consent-mapper/aspsp-account-access.json", AccountAccess.class); assertEquals(expected, result); }