### Question:
Xs2aAisConsentService { public Optional<List<String>> getAuthorisationSubResources(String consentId) { return authorisationService.getAuthorisationSubResources(consentId, AuthorisationType.CONSENT); }  Optional<Xs2aCreateAisConsentResponse> createConsent(CreateConsentReq request, PsuIdData psuData, TppInfo tppInfo); Optional<AisConsent> getAccountConsentById(String consentId); boolean findAndTerminateOldConsentsByNewConsentId(String newConsentId); void updateConsentStatus(String consentId, ConsentStatus consentStatus); void consentActionLog(String tppId, String consentId, ActionStatus actionStatus, String requestUri, boolean updateUsage,
                                 String resourceId, String transactionId); void updateConsentAuthorisation(UpdateConsentPsuDataReq updatePsuData); CmsResponse<AisConsent> updateAspspAccountAccess(String consentId, AccountAccess accountAccess); Optional<List<String>> getAuthorisationSubResources(String consentId); void updateMultilevelScaRequired(String consentId, boolean multilevelScaRequired);  }### Answer:
@Test void getAuthorisationSubResources() { xs2aAisConsentService.getAuthorisationSubResources(CONSENT_ID); verify(authorisationService, times(1)).getAuthorisationSubResources(CONSENT_ID, AuthorisationType.CONSENT); }