def METHOD_NAME(self, process_iter):
    rally_es_5_process = Process(
        100,
        "java",
        [
            "/usr/lib/jvm/java-8-oracle/bin/java",
            "-Xms2g",
            "-Xmx2g",
            "-Enode.name=rally-node0",
            "org.elasticsearch.bootstrap.Elasticsearch",
        ],
    )
    rally_es_1_process = Process(
        101,
        "java",
        [
            "/usr/lib/jvm/java-8-oracle/bin/java",
            "-Xms2g",
            "-Xmx2g",
            "-Des.node.name=rally-node0",
            "org.elasticsearch.bootstrap.Elasticsearch",
        ],
    )
    metrics_store_process = Process(
        102,
        "java",
        [
            "/usr/lib/jvm/java-8-oracle/bin/java",
            "-Xms2g",
            "-Xmx2g",
            "-Des.path.home=~/rally/metrics/",
            "org.elasticsearch.bootstrap.Elasticsearch",
        ],
    )
    random_python = Process(103, "python3", ["/some/django/app"])
    other_process = Process(104, "init", ["/usr/sbin/init"])
    rally_process_p = Process(105, "python3", ["/usr/bin/python3", "~/.local/bin/esrally"])
    rally_process_r = Process(106, "rally", ["/usr/bin/python3", "~/.local/bin/esrally"])
    rally_process_e = Process(107, "esrally", ["/usr/bin/python3", "~/.local/bin/esrally"])
    rally_process_mac = Process(108, "Python", ["/Python.app/Contents/MacOS/Python", "~/.local/bin/esrally"])
    # fake own process by determining our pid
    own_rally_process = Process(os.getpid(), "Python", ["/Python.app/Contents/MacOS/Python", "~/.local/bin/esrally"])
    night_rally_process = Process(110, "Python", ["/Python.app/Contents/MacOS/Python", "~/.local/bin/night_rally"])
    process_iter.return_value = [
        rally_es_1_process,
        rally_es_5_process,
        metrics_store_process,
        random_python,
        other_process,
        rally_process_p,
        rally_process_r,
        rally_process_e,
        rally_process_mac,
        own_rally_process,
        night_rally_process,
    ]
    assert process.find_all_other_rally_processes() == [rally_process_p, rally_process_r, rally_process_e, rally_process_mac]