### Question:
TransactionListDownloadPathParamsValidatorImpl implements TransactionListDownloadPathParamsValidator { @Override public MessageError validate(Map<String, String> queryParameterMap, MessageError messageError) { String downloadId = queryParameterMap.get("download-id"); if (isNonValid(downloadId)) { errorBuildingService.enrichMessageError(messageError, TppMessageInformation.of(FORMAT_ERROR_PATH_PARAMETER_INVALID)); } return messageError; } TransactionListDownloadPathParamsValidatorImpl(ErrorBuildingService errorBuildingService); @Override MessageError validate(Map<String, String> queryParameterMap, MessageError messageError);  }### Answer:
@Test void validate_success() { Map<String, String> pathParametersMap = new HashMap<>(); pathParametersMap.put(DOWNLOAD_ID, CORRECT_BASE64_STRING); transactionListDownloadPathParamsValidator.validate(pathParametersMap, messageError); assertTrue(messageError.getTppMessages().isEmpty()); }
@Test void validate_wrongBase64_shouldFail() { Map<String, String> pathParametersMap = new HashMap<>(); pathParametersMap.put(DOWNLOAD_ID, WRONG_BASE64_STRING); transactionListDownloadPathParamsValidator.validate(pathParametersMap, messageError); assertFalse(messageError.getTppMessages().isEmpty()); assertEquals(FORMAT_ERROR_PATH_PARAMETER_INVALID, messageError.getTppMessage().getMessageErrorCode()); }