### Question:
AccessMapper { public AccountAccess mapTppAccessesToAccountAccess(List<TppAccountAccess> tppAccountAccesses, AdditionalAccountInformationType ownerNameType, AdditionalAccountInformationType trustedBeneficiariesType) { AccountAccessListHolder holder = new AccountAccessListHolder(); tppAccountAccesses.forEach(a -> { AccountReference accountReference = new AccountReference(a.getAccountReferenceType(), a.getAccountIdentifier(), a.getCurrency()); holder.addAccountReference(accountReference, a.getTypeAccess()); }); return buildAccountAccess(holder, ownerNameType, trustedBeneficiariesType); }  AccountAccess mapTppAccessesToAccountAccess(List<TppAccountAccess> tppAccountAccesses,
                                                       AdditionalAccountInformationType ownerNameType,
                                                       AdditionalAccountInformationType trustedBeneficiariesType); AccountAccess mapAspspAccessesToAccountAccess(List<AspspAccountAccess> aspspAccountAccesses,
                                                         AdditionalAccountInformationType ownerNameType,
                                                         AdditionalAccountInformationType trustedBeneficiariesType); List<TppAccountAccess> mapToTppAccountAccess(AccountAccess accountAccess); List<AspspAccountAccess> mapToAspspAccountAccess(AccountAccess accountAccess); AspspAccountAccess mapToAspspAccountAccess(AccountReference accountReference); AccountReference mapToAccountReference(AspspAccountAccess aspspAccountAccess);  }### Answer:
@Test void mapTppAccessesToAccountAccess() { List<TppAccountAccess> tppAccountAccesses = jsonReader.getListFromFile("json/service/mapper/access-mapper/tpp-account-accesses-additional-information.json", TppAccountAccess.class); AccountAccess actual = accessMapper.mapTppAccessesToAccountAccess(tppAccountAccesses, AdditionalAccountInformationType.DEDICATED_ACCOUNTS, AdditionalAccountInformationType.DEDICATED_ACCOUNTS); AccountAccess expected = jsonReader.getObjectFromFile("json/service/mapper/access-mapper/account-access-for-tpp-additional-information.json", AccountAccess.class); assertEquals(expected, actual); }