com.netflix.spinnaker.keel.services.versionLinksUtils.kt Maven / Gradle / Ivy
package com.netflix.spinnaker.keel.services
import com.github.benmanes.caffeine.cache.AsyncLoadingCache
import com.netflix.spinnaker.keel.api.ScmInfo
import com.netflix.spinnaker.keel.artifacts.ArtifactVersionLinks
import com.netflix.spinnaker.keel.caffeine.CacheFactory
import io.mockk.coEvery
import io.mockk.every
import io.mockk.mockk
import java.util.concurrent.CompletableFuture
import java.util.function.Function
val scmData = mapOf("stash" to "https://stash")
fun mockScmInfo(): ScmInfo {
return mockk() {
coEvery