poohbar
10/30/2019, 1:28 PM@Before
fun setup() {
val instant = Instant.ofEpochMilli(1572400000000)
mockkStatic(Instant::class) {
every { Instant.now() } returns instant
}
}
Dias
10/30/2019, 2:22 PMDias
10/30/2019, 2:25 PMDias
10/30/2019, 2:26 PM