teller-android / com.levibostian.teller.repository / OnlineRepository / RefreshResult / Testing

Testing

object Testing

Used for testing purposes to create instances of OnlineCacheState.

See Also

OnlineRepositoryRefreshResultTesting

Extension Functions

failure

fun Testing.failure(error: Throwable): RefreshResult

skipped

fun Testing.skipped(reason: SkippedReason): RefreshResult

success

fun Testing.success(): RefreshResult