### Question:
UpdatePisPsuDataLinks extends AbstractLinks { private boolean isScaStatusFinalised(ScaStatus scaStatus) { return scaStatus == ScaStatus.FINALISED; } UpdatePisPsuDataLinks(String httpUrl, ScaApproachResolver scaApproachResolver,
                                 Xs2aUpdatePisCommonPaymentPsuDataRequest request, ScaStatus scaStatus,
                                 AuthenticationObject chosenScaMethod);   }### Answer:
@Test void isScaStatusFinalised() { links = new UpdatePisPsuDataLinks(HTTP_URL, scaApproachResolver, request, ScaStatus.FINALISED, authenticationObject); expectedLinks.setScaStatus(new HrefType("http: expectedLinks.setScaStatus(new HrefType("http: assertEquals(expectedLinks, links); }