### Question:
AisAuthService extends CmsAuthorisationService<ConsentEntity> { @Override protected void updateAuthorisable(Object authorisable) { consentJpaRepository.save((ConsentEntity) authorisable); } @Autowired  AisAuthService(CmsPsuService cmsPsuService, PsuDataMapper psuDataMapper, AspspProfileService aspspProfileService,
                          AuthorisationRepository authorisationRepository,
                          AisConsentConfirmationExpirationService aisConsentConfirmationExpirationService,
                          ConsentJpaRepository aisConsentJpaRepository,
                          AuthorisationMapper authorisationMapper); @Override Optional<Authorisable> getNotFinalisedAuthorisationParent(String parentId); @Override Optional<Authorisable> getAuthorisationParent(String parentId);  }### Answer:
@Test void updateAuthorisable() { service.updateAuthorisable(consentEntity); verify(consentJpaRepository, times(1)).save(consentEntity); }