     socket: socket,
     fake_transaction: fake_transaction
   } do
-    UsingAppsignalPhoenixChannel.handle_in("instrumented", %{"body" => "Hello, world!"}, socket)
+    InstrumentedPhoenixChannel.handle_in("instrumented", %{"body" => "Hello, world!"}, socket)
 
     assert [{"123", :channel}] == FakeTransaction.started_transactions(fake_transaction)
-    assert "UsingAppsignalPhoenixChannel#instrumented" == FakeTransaction.action(fake_transaction)
+    assert "InstrumentedPhoenixChannel#instrumented" == FakeTransaction.action(fake_transaction)
 
     assert %{
              "environment" => %{

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


  def handle_in("decorated", payload, socket) do
    {:reply, {:ok, payload}, socket}
  end
end

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

  def handle_in("instrumented" = action, payload, socket) do
    channel_action(__MODULE__, action, socket, payload, fn ->
