## FolksDummyBackend

FolksDummyBackend — A backend which allows FolksDummyPersonaStores and FolksDummyPersonas to be programmatically created and manipulated, for the purposes of testing the core of libfolks itself.

## Description

This backend is not meant to be enabled in production use. The methods on FolksDummyBackend (and other classes) for programmatically manipulating the backend's state are considered internal to libfolks and are not stable.

This backend maintains two sets of persona stores: the set of all persona stores, and the set of enabled persona stores (which must be a subset of the former). ``folks_dummy_backend_register_persona_stores()`` adds persona stores to the set of all stores. Optionally it also enables them, adding them to the set of enabled stores. The set of persona stores advertised by the backend as "persona-stores" is the set of enabled stores. libfolks may internally enable or disable stores using ``folks_backend_enable_persona_store()``, ``folks_backend_disable_persona_store()`` and ``folks_backend_set_persona_stores()``. The `register_` and `unregister_` prefixes are commonly used for backend methods.

The API in FolksDummy is unstable and may change wildly. It is designed mostly for use by libfolks unit tests.

## Functions