def METHOD_NAME(monkeypatch: pytest.MonkeyPatch, unix_time_in_ns: int):
    def fetch_logs_from_loki(
        query, start_time: datetime.datetime, end_time: datetime.datetime
    ):
        return [
            {
                "values": [
                    [unix_time_in_ns, "test3"],
                    [unix_time_in_ns, "test2"],
                    [unix_time_in_ns, "test"],
                ],
            }
        ]
    monkeypatch.setattr(loki, "fetch_logs_from_loki", fetch_logs_from_loki)