### Question:
CmsConsentAuthorisationServiceInternal { public List<AuthorisationEntity> getAuthorisationsByParentExternalId(String externalId) { return authorisationRepository.findAllByParentExternalIdAndType(externalId, AuthorisationType.CONSENT); }  Optional<AuthorisationEntity> getAuthorisationByAuthorisationId(@NotNull String authorisationId, @NotNull String instanceId); Optional<AuthorisationEntity> getAuthorisationByRedirectId(String redirectId, String instanceId); boolean updateScaStatusAndAuthenticationData(@NotNull ScaStatus status, AuthorisationEntity authorisation, AuthenticationDataHolder authenticationDataHolder); List<AuthorisationEntity> getAuthorisationsByParentExternalId(String externalId);  }### Answer:
@Test void getAuthorisationsByParentExternalId() { cmsConsentAuthorisationServiceInternal.getAuthorisationsByParentExternalId(EXTERNAL_ID); verify(authorisationRepository, times(1)).findAllByParentExternalIdAndType(EXTERNAL_ID, AuthorisationType.CONSENT); }