### Question:
PisCancellationAuthService extends CmsAuthorisationService<PisCommonPaymentData> { @Override AuthorisationType getAuthorisationType() { return AuthorisationType.PIS_CANCELLATION; } @Autowired  PisCancellationAuthService(CmsPsuService cmsPsuService, PsuDataMapper psuDataMapper, AspspProfileService aspspProfileService,
                                      AuthorisationRepository authorisationRepository,
                                      PisCommonPaymentConfirmationExpirationService pisCommonPaymentConfirmationExpirationService,
                                      PisPaymentDataRepository pisPaymentDataRepository,
                                      AuthorisationMapper authorisationMapper, PisCommonPaymentDataRepository pisCommonPaymentDataRepository,
                                      PisCommonPaymentMapper pisCommonPaymentMapper, CorePaymentsConvertService corePaymentsConvertService); @Override Optional<Authorisable> getNotFinalisedAuthorisationParent(String parentId); @Override Optional<Authorisable> getAuthorisationParent(String parentId);  }### Answer:
@Test void getAuthorisationType() { assertEquals(AuthorisationType.PIS_CANCELLATION, service.getAuthorisationType()); }