### Question:
PiisConsentService { public ResponseObject<AuthorisationResponse> createPiisAuthorisation(PsuIdData psuData, String consentId, String password) { return piisConsentAuthorisationService.createPiisAuthorisation(psuData, consentId, password); }  ResponseObject<Xs2aConfirmationOfFundsResponse> createPiisConsentWithResponse(CreatePiisConsentRequest request, PsuIdData psuData, boolean explicitPreferred); ResponseObject<PiisConsent> getPiisConsentById(String consentId); ResponseObject<ConsentStatusResponse> getPiisConsentStatusById(String consentId); ResponseObject<Xs2aAuthorisationSubResources> getConsentInitiationAuthorisations(String consentId); ResponseObject<Xs2aScaStatusResponse> getConsentAuthorisationScaStatus(String consentId, String authorisationId); ResponseObject<Void> deleteAccountConsentsById(String consentId); ResponseObject<AuthorisationResponse> createPiisAuthorisation(PsuIdData psuData, String consentId, String password); ResponseObject<UpdateConsentPsuDataResponse> updateConsentPsuData(UpdateConsentPsuDataReq updatePsuData);  }### Answer:
@Test void createPiisAuthorisation() { ResponseObject<AuthorisationResponse> authorisationResponseResponseObject = ResponseObject.<AuthorisationResponse>builder().body(createConsentAuthorizationResponse).build(); when(piisConsentAuthorisationService.createPiisAuthorisation(PSU_ID_DATA, CONSENT_ID, PASSWORD)) .thenReturn(authorisationResponseResponseObject); ResponseObject<AuthorisationResponse> actualResponse = piisConsentService.createPiisAuthorisation(PSU_ID_DATA, CONSENT_ID, PASSWORD); assertEquals(authorisationResponseResponseObject.getBody(), actualResponse.getBody()); }