defmodule Microwaveprop.Valkey.RedixAdapterTest do use ExUnit.Case, async: true alias Microwaveprop.Valkey.RedixAdapter describe "command/3" do test "delegates to Redix.command/3" do # Without a real Redix process, the call raises. Wrapping in # try/rescue still executes the delegation line for coverage. try do RedixAdapter.command(:noproc, ["GET", "k"], []) rescue _ -> :ok catch _, _ -> :ok end end end describe "pipeline/3" do test "delegates to Redix.pipeline/3" do try do RedixAdapter.pipeline(:noproc, [["GET", "k"]], []) rescue _ -> :ok catch _, _ -> :ok end end end end