 
   test "filters parameters", %{socket: socket, fake_transaction: fake_transaction} do
     AppsignalTest.Utils.with_config(%{filter_parameters: ["password"]}, fn ->
-      UsingAppsignalPhoenixChannel.handle_in("instrumented", %{"password" => "secret"}, socket)
+      InstrumentedPhoenixChannel.handle_in("instrumented", %{"password" => "secret"}, socket)
       assert "[FILTERED]" == FakeTransaction.sample_data(fake_transaction)["params"]["password"]
     end)
   end

defmodule UsingAppsignalPhoenixChannel do
  import Appsignal.Phoenix.Channel, only: [channel_action: 5]
  use Appsignal.Instrumentation.Decorators


    socket: socket,
    fake_transaction: fake_transaction
  } do
    InstrumentedPhoenixChannel.handle_in("instrumented", %{"body" => "Hello, world!"}, socket)

    assert [{"123", :channel}] == FakeTransaction.started_transactions(fake_transaction)
    assert "InstrumentedPhoenixChannel#instrumented" == FakeTransaction.action(fake_transaction)

    assert %{
             "environment" => %{
