### Question:
RedirectLinkBuilder { public String buildPisConfirmationLink(String paymentService, String paymentProduct, String encryptedPaymentId, String redirectId) { return UrlHolder.PIS_AUTHORISATION_LINK_URL .replace(PAYMENT_SERVICE, paymentService) .replace(PAYMENT_PRODUCT, paymentProduct) .replace(PAYMENT_ID, encryptedPaymentId) .replace(AUTHORISATION_ID, redirectId); }  String buildConsentScaRedirectLink(String encryptedConsentId, String redirectId, String internalRequestId,
                                              String instanceId, ConsentType consentType); String buildConsentScaOauthRedirectLink(String encryptedConsentId, String redirectId, String internalRequestId); String buildPaymentScaRedirectLink(String encryptedPaymentId, String redirectId, String internalRequestId,
                                              String instanceId); String buildPaymentScaOauthRedirectLink(String encryptedPaymentId, String redirectId, String internalRequestId); String buildPaymentCancellationScaRedirectLink(String encryptedPaymentId, String redirectId, String internalRequestId,
                                                          String instanceId); String buildPaymentCancellationScaOauthRedirectLink(String encryptedPaymentId, String redirectId, String internalRequestId); String buildPisConfirmationLink(String paymentService, String paymentProduct, String encryptedPaymentId, String redirectId); String buildPisCancellationConfirmationLink(String paymentService, String paymentProduct, String encryptedPaymentId, String redirectId); String buildConfirmationLink(String consentId, String redirectId, ConsentType consentType);  }### Answer:
@Test public void buildPisConfirmationLink() { String confirmationLink = redirectLinkBuilder.buildPisConfirmationLink("paymentService", "paymentProduct", "paymentID", "redirectID"); assertEquals("/v1/paymentService/paymentProduct/paymentID/authorisations/redirectID", confirmationLink); }