FakeLocalStatsDataSource

A test double for LocalStatsDataSource that provides an in-memory implementation.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val localStatsFlow: StateFlow<LocalStats>

Functions

Link copied to clipboard
open suspend override fun clearLocalStats()
Link copied to clipboard
open fun reset()

Resets all registered state flows and custom actions to their initial state.

Link copied to clipboard
open suspend override fun setLocalStats(stats: LocalStats)