### Question:
ConfirmationOfFundsConsentValidationService { public ValidationResult validateConsentAuthorisationScaStatus(PiisConsent consent, String authorisationId) { return getCofConsentScaStatusValidator.validate(new GetConfirmationOfFundsConsentAuthorisationScaStatusPO(consent, authorisationId)); }  ValidationResult validateConsentOnDelete(PiisConsent consent); ValidationResult validateConsentAuthorisationOnCreate(CreatePiisConsentAuthorisationObject createPiisConsentAuthorisationObject); ValidationResult validateConsentPsuDataOnUpdate(PiisConsent consent, UpdateConsentPsuDataReq request); ValidationResult validateConsentAuthorisationOnGettingById(PiisConsent consent); ValidationResult validateConsentAuthorisationScaStatus(PiisConsent consent, String authorisationId);  }### Answer:
@Test void validateConsentAuthorisationScaStatus() { ArgumentCaptor<GetConfirmationOfFundsConsentAuthorisationScaStatusPO> argumentCaptor = ArgumentCaptor.forClass(GetConfirmationOfFundsConsentAuthorisationScaStatusPO.class); when(getConfirmationOfFundsConsentAuthorisationScaStatusValidator.validate(argumentCaptor.capture())).thenReturn(ValidationResult.valid()); service.validateConsentAuthorisationScaStatus(piisConsent, AUTHORISATION_ID); verify(getConfirmationOfFundsConsentAuthorisationScaStatusValidator).validate(any(GetConfirmationOfFundsConsentAuthorisationScaStatusPO.class)); assertEquals(piisConsent, argumentCaptor.getValue().getPiisConsent()); assertEquals(AUTHORISATION_ID, argumentCaptor.getValue().getAuthorisationId()); }