def METHOD_NAME(samp_eve):
    # that test might be divided into many smaller tests,
    # but feels natural to write it this way
    module = pytest_splunk_addon.standard_lib.sample_generation.sample_event
    rule = "src"
    assert samp_eve.get_ipv4(rule) == "10.1.0.1"
    assert module.src_ipv4 == 1
    module.src_ipv4 = 270
    assert samp_eve.get_ipv4(rule) == "10.1.1.15"
    assert module.src_ipv4 == 271
    rule = "host"
    assert samp_eve.get_ipv4(rule) == "172.16.51.0"
    assert module.host_ipv4_octet_count == 0
    assert module.host_ipv4 == 51
    module.host_ipv4_octet_count = 260
    assert samp_eve.get_ipv4(rule) == "172.16.52.5"
    assert module.host_ipv4_octet_count == 5
    assert module.host_ipv4 == 52
    module.host_ipv4 = 101
    assert samp_eve.get_ipv4(rule) == "172.16.51.6"
    assert module.host_ipv4_octet_count == 6
    assert module.host_ipv4 == 51
    rule = "dvc"
    assert samp_eve.get_ipv4(rule) == "172.16.1.1"
    assert module.dvc_ipv4 == 1
    assert module.dvc_ipv4_octet_count == 1
    module.dvc_ipv4 = 80
    module.dvc_ipv4_octet_count = 300
    assert samp_eve.get_ipv4(rule) == "172.16.30.45"
    assert module.dvc_ipv4 == 81
    assert module.dvc_ipv4_octet_count == 301
    rule = "dest"
    assert samp_eve.get_ipv4(rule) == "10.100.0.1"
    assert module.dest_ipv4 == 1
    rule = "url"
    assert samp_eve.get_ipv4(rule) == "192.168.0.1"
    assert module.url_ip_count == 1
    rule = "else"
    assert samp_eve.get_ipv4(rule) == FAKE_IPV4