# `Chimeway.Adapters.Test`
[🔗](https://github.com/jonlunsford/chimeway/blob/v1.0.0/lib/chimeway/adapters/test.ex#L1)

In-memory test adapter using process dictionary storage.

Stores delivered messages in the calling process's dictionary, providing
per-test isolation without shared state between test processes. This mirrors
the Swoosh.Adapters.Test pattern.

## Usage in tests

    setup do
      Chimeway.Adapters.Test.clear()
      :ok
    end

    test "delivery was sent" do
      # ... trigger delivery ...
      Chimeway.Adapters.Test.assert_delivered(delivery)
    end

# `assert_delivered`

Asserts that a delivery with the given ID was stored in the test adapter.

Raises `ExUnit.AssertionError` with a readable message if the delivery is
not found.

# `clear`

Clears all deliveries from the current process's test adapter store.
Call in test setup/teardown.

# `delivered_messages`

Returns all deliveries stored in the current process's test adapter.

---

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