# `Gralkor.Client.InMemory`
[🔗](https://github.com/elimydlarz/gralkor/blob/main/lib/gralkor/client/in_memory.ex#L1)

In-memory twin of `Gralkor.Client` for tests.

Configure responses per operation before exercising the code under test;
inspect the calls that were made after. Operations with no configured
response return `{:error, :not_configured}` — tests should set every
response they expect the code under test to hit.

# `adds`

# `captures`

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `communities_builds`

# `end_sessions`

# `indices_builds`

# `recalls`

# `reset`

Reset all state — call in `setup`.

# `set_build_communities`

Set the response for the next (and all subsequent) `build_communities/1` calls.

# `set_build_indices`

Set the response for the next (and all subsequent) `build_indices/0` calls.

# `set_capture`

Set the response for the next (and all subsequent) `capture/3` calls.

# `set_end_session`

Set the response for the next (and all subsequent) `end_session/1` calls.

# `set_memory_add`

Set the response for the next (and all subsequent) `memory_add/3` calls.

# `set_recall`

Set the response for the next (and all subsequent) `recall/3` calls.

# `start_link`

---

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