class LocalCacheStateTesting
Convenient utility to generate instances of LocalCacheState used for testing purposes.
You can use this class directly, or, use the recommended extension functions in the LocalCacheState.Testing object.
Intentions of LocalCacheStateTesting:
fun <CACHE : Any> cache(requirements: GetCacheRequirements, cache: CACHE): LocalCacheState<CACHE> |
|
fun <CACHE : Any> isEmpty(requirements: GetCacheRequirements): LocalCacheState<CACHE> |
|
fun <CACHE : Any> none(): LocalCacheState<CACHE> |