### Question:
FundsConfirmationController implements FundsConfirmationApi { @Override public ResponseEntity checkAvailabilityOfFunds(ConfirmationOfFunds body, UUID xRequestID, String consentID, String authorization, String digest, String signature, byte[] tpPSignatureCertificate) { ResponseObject<FundsConfirmationResponse> responseObject = fundsConfirmationService.fundsConfirmation(fundsConfirmationModelMapper.mapToFundsConfirmationRequest(body, consentID)); return responseObject.hasError() ? responseErrorMapper.generateErrorResponse(responseObject.getError()) : responseMapper.ok(responseObject, fundsConfirmationModelMapper::mapToInlineResponse2003); }  @Override ResponseEntity checkAvailabilityOfFunds(ConfirmationOfFunds body, UUID xRequestID, String consentID, String authorization, String digest, String signature, byte[] tpPSignatureCertificate);  }### Answer:
@Test void fundConfirmation() throws IOException { when(responseMapper.ok(any(), any())).thenReturn(getInlineResponse()); ConfirmationOfFunds confirmationOfFunds = getConfirmationOfFunds(); HttpStatus expectedStatusCode = HttpStatus.OK; ResponseEntity<?> actualResult = fundsConfirmationController.checkAvailabilityOfFunds(confirmationOfFunds, null, CONSENT_ID, null, null, null, null); InlineResponse2003 fundsConfirmationResponse = (InlineResponse2003) actualResult.getBody(); assertThat(actualResult.getStatusCode()).isEqualTo(expectedStatusCode); assertThat(fundsConfirmationResponse.getFundsAvailable()).isEqualTo(true); verify(fundsConfirmationModelMapper, atLeastOnce()).mapToFundsConfirmationRequest(confirmationOfFunds, CONSENT_ID); }