### Question:
AuthorisationMapper { public Authorisations mapToAuthorisations(Xs2aAuthorisationSubResources xs2AAuthorisationSubResources) { Authorisations authorisations = new Authorisations(); AuthorisationsList authorisationsList = new AuthorisationsList(); authorisationsList.addAll(xs2AAuthorisationSubResources.getAuthorisationIds()); authorisations.setAuthorisationIds(authorisationsList); return authorisations; }  Authorisations mapToAuthorisations(Xs2aAuthorisationSubResources xs2AAuthorisationSubResources); Object mapToPisCreateOrUpdateAuthorisationResponse(ResponseObject responseObject); Object mapToConsentCreateOrUpdateAuthorisationResponse(ResponseObject<AuthorisationResponse> responseObject); @NotNull ScaStatusResponse mapToScaStatusResponse(@NotNull Xs2aScaStatusResponse xs2aScaStatusResponse); UpdatePsuAuthenticationResponse mapToPisUpdatePsuAuthenticationResponse(Xs2aUpdatePisCommonPaymentPsuDataResponse response); UpdatePsuAuthenticationResponse mapToConsentUpdatePsuAuthenticationResponse(UpdateConsentPsuDataResponse response); Xs2aCreatePisAuthorisationRequest mapToXs2aCreatePisAuthorisationRequest(PsuIdData psuData, String paymentId, PaymentType paymentService, String paymentProduct, Map body); String mapToPasswordFromBody(Map body);  }### Answer:
@Test void mapToAuthorisations_equals_success() { Authorisations expectedAuthorisations = jsonReader.getObjectFromFile("json/service/mapper/authorisation-mapper/AuthorisationMapper-Authorisations.json", Authorisations.class); Xs2aAuthorisationSubResources xs2AAuthorisationSubResources = jsonReader.getObjectFromFile("json/service/mapper/authorisation-mapper/AuthorisationMapper-Xs2aAutorisationSubResources.json", Xs2aAuthorisationSubResources.class); Authorisations actualAuthorisations = mapper.mapToAuthorisations(xs2AAuthorisationSubResources); assertEquals(expectedAuthorisations, actualAuthorisations); }