### Question:
AbstractHeaderValidatorImpl { MessageError checkBooleanFormat(Map<String, String> headers, MessageError messageError) { String header = headers.get(getHeaderName()); if (Objects.nonNull(header)) { Boolean checker = BooleanUtils.toBooleanObject(header); if (checker == null) { errorBuildingService.enrichMessageError(messageError, TppMessageInformation.of(FORMAT_ERROR_BOOLEAN_VALUE, getHeaderName())); } } return messageError; } AbstractHeaderValidatorImpl(ErrorBuildingService errorBuildingService); MessageError validate(Map<String, String> headers, MessageError messageError);  }### Answer:
@Test void checkBooleanFormat_headerIsNotPresented() { validator.checkBooleanFormat(headers, messageError); verify(errorBuildingService, never()).enrichMessageError(any(MessageError.class), any(TppMessageInformation.class)); }