def METHOD_NAME(
    record_property,  setup_splunk, setup_sc4s, get_pid
):
    host = f"{shortuuid.ShortUUID().random(length=5).lower()}-{shortuuid.ShortUUID().random(length=5).lower()}"
    pid = get_pid
    dt = datetime.datetime.now()
    _, bsd, _, _, _, _, epoch = time_operations(dt)
    # Tune time functions
    epoch = epoch[:-7]
    mt = env.from_string(
        "{{ mark }} {{ bsd }} cron[{{ pid }}]: (root) CMD (/usr/libexec/atrun)\n"
    )
    message = mt.render(mark="<111>", bsd=bsd, host=host, pid=pid)
    sendsingle(message, setup_sc4s[0], setup_sc4s[1][514])
    st = env.from_string(
        'search _time={{ epoch }} index=osnix "[{{ pid }}]" sourcetype="nix:syslog"'
    )
    search = st.render(epoch=epoch, pid=pid)
    result_count, _ = splunk_single(setup_splunk, search)
    record_property("host", host)
    record_property("resultCount", result_count)
    record_property("message", message)
    assert result_count == 1