### Question:
Xs2aAuthorisationService { public CmsResponse<Authorisation> updateAuthorisation(UpdateAuthorisationRequest request, String authorisationId) { return authorisationServiceEncrypted.updateAuthorisation(authorisationId, request); }  Optional<CreateAuthorisationResponse> createAuthorisation(CreateAuthorisationRequest request, String parentId, AuthorisationType authorisationType); Optional<Authorisation> getAuthorisationById(String authorisationId); void updateScaApproach(String authorisationId, ScaApproach scaApproach); boolean saveAuthenticationMethods(String authorisationId, List<AuthenticationObject> methods); boolean isAuthenticationMethodDecoupled(String authorisationId, String authenticationMethodId); void updateAuthorisationStatus(String authorisationId, ScaStatus scaStatus); Optional<AuthorisationScaApproachResponse> getAuthorisationScaApproach(String authorisationId); Optional<List<String>> getAuthorisationSubResources(String parentId, AuthorisationType authorisationType); CmsResponse<Authorisation> updateAuthorisation(UpdateAuthorisationRequest request, String authorisationId); Optional<ScaStatus> getAuthorisationScaStatus(String authorisationId, String parentId, AuthorisationType authorisationType);  }### Answer:
@Test void updateAuthorisation() { UpdateAuthorisationRequest request = new UpdateAuthorisationRequest(); authorisationService.updateAuthorisation(request, AUTHORISATION_ID); verify(authorisationServiceEncrypted, times(1)).updateAuthorisation(AUTHORISATION_ID, request); }