### Question:
AccessMapper { public AccountReference mapToAccountReference(AspspAccountAccess aspspAccountAccess) { return new AccountReference(aspspAccountAccess.getAccountReferenceType(), aspspAccountAccess.getAccountIdentifier(), aspspAccountAccess.getCurrency(), aspspAccountAccess.getResourceId(), aspspAccountAccess.getAspspAccountId()); }  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 mapToAccountReference() { AspspAccountAccess aspspAccountAccess = jsonReader.getObjectFromFile("json/service/mapper/access-mapper/aspsp-account-accesses-account.json", AspspAccountAccess.class); AccountReference expected = jsonReader.getObjectFromFile("json/service/mapper/access-mapper/account-reference.json", AccountReference.class); AccountReference actual = accessMapper.mapToAccountReference(aspspAccountAccess); assertEquals(expected, actual); }