def METHOD_NAME(stream_reader: MagicMock) -> None:
    stream_reader.open_file.return_value.__enter__.return_value = JSONL_CONTENT_WITH_MULTILINE_JSON_OBJECTS
    logger = Mock()
    next(iter(JsonlParser().parse_records(Mock(), Mock(), stream_reader, logger, None)))
    assert logger.warning.call_count == 1