def METHOD_NAME(monkeypatch):
    fake_data = pd.DataFrame(
        [
            {"owner": "0xA", "safe": "0x1", "type": "type_a", "_block_number": 150},
            {"owner": "0xA", "safe": "0x2", "type": "type_a", "_block_number": 151},
            {"owner": "0xA", "safe": "0x3", "type": "type_a", "_block_number": 152},
            {"owner": "0xA", "safe": "0x4", "type": "type_a", "_block_number": 153},
        ]
    )
    rule = create_rule(
        monkeypatch, fake_data, {"payment_cycle_length": 100}, {"max_rewards": 2}
    )
    result = rule.run(200, "0x0")
    assert len(result) == 1
    assert get_amount(result, "0xA") == 2