main.misk.time.FakeTickerModule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of misk-testing Show documentation
Show all versions of misk-testing Show documentation
Open source application container in Kotlin
package misk.time
import com.google.common.base.Ticker
import com.google.common.testing.FakeTicker
import misk.inject.KAbstractModule
class FakeTickerModule : KAbstractModule() {
override fun configure() {
bind().to()
bind().toInstance(FakeTicker())
}
}