def METHOD_NAME():
    import logging
    from moler.util.loghelper import log_into_logger
    logger = logging.getLogger('moler')
    def fun_using_helper_logging():
        log_into_logger(logger, level=logging.WARNING, msg="hi", extra={'transfer_direction': '<'})
    logged_record = []
    def log_record_receiver(logger, log_record):
        logged_record.append(log_record)
    with mock.patch.object(logger.__class__, "handle", new=log_record_receiver):
        fun_using_helper_logging()
    assert logged_record[0].transfer_direction == "<"