# `ExMCP.Transport.Test`
[🔗](https://github.com/azmaveth/ex_mcp/blob/v1.0.0/lib/ex_mcp/transport/test.ex#L1)

In-memory transport for testing purposes.

This transport allows direct communication between client and server processes
within the same Elixir VM, without requiring external subprocesses or network
connections. It's designed specifically for unit and integration testing.

## Usage

    # Start a server with test transport
    {:ok, server} = ExMCP.Server.HandlerServer.start_link(
      transport: :test,
      handler: MyHandler
    )

    # Start a client connected to that server
    {:ok, client} = ExMCP.Client.start_link(
      transport: :test,
      server: server
    )

# `receive`

# `receive_message`

# `recv`

# `send`

# `subscribe`

Subscribe to receive transport events (push model).

For the Test transport, the peer already sends `{:transport_message, msg}`
to the client process. The Client GenServer handles these directly,
so subscribe just signals that no receiver task is needed.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
