teller-android / com.levibostian.teller.testing.cachestate / OnlineCacheStateTesting / CacheExistsDsl

CacheExistsDsl

class CacheExistsDsl<CACHE>

Types

Props

data class Props<CACHE>

Constructors

<init>

CacheExistsDsl(lastFetched: Date)

Properties

props

var props: Props<CACHE>

Functions

cache

fun cache(cache: CACHE): Unit

failedFetch

fun failedFetch(error: Throwable): Unit

fetching

fun fetching(): Unit

successfulFetch

fun successfulFetch(timeFetched: Date): Unit