teller-android / com.levibostian.teller.testing.repository / OnlineRepositoryTesting / CacheExistsDsl / Props

Props

data class Props

Make default where cache not too old (make cache last fetched now) to give OnlineRepository the minimum amount of interactions. There must be some last fetched time because cache does exist!

Constructors

<init>

Props(lastFetched: Date? = null, cacheTooOld: Boolean = false, cacheNotTooOld: Boolean = true)

Make default where cache not too old (make cache last fetched now) to give OnlineRepository the minimum amount of interactions. There must be some last fetched time because cache does exist!

Properties

cacheNotTooOld

val cacheNotTooOld: Boolean

cacheTooOld

val cacheTooOld: Boolean

lastFetched

val lastFetched: Date?