|
@@ -1,8 +1,13 @@
|
|
package com.nextcloud.client.utils
|
|
package com.nextcloud.client.utils
|
|
|
|
|
|
import com.nextcloud.client.core.Clock
|
|
import com.nextcloud.client.core.Clock
|
|
-import io.mockk.*
|
|
|
|
|
|
+import io.mockk.MockKAnnotations
|
|
|
|
+import io.mockk.Runs
|
|
|
|
+import io.mockk.every
|
|
|
|
+
|
|
import io.mockk.impl.annotations.MockK
|
|
import io.mockk.impl.annotations.MockK
|
|
|
|
+import io.mockk.just
|
|
|
|
+import io.mockk.verify
|
|
import org.junit.Before
|
|
import org.junit.Before
|
|
import org.junit.Test
|
|
import org.junit.Test
|
|
|
|
|
|
@@ -78,4 +83,4 @@ class ThrottlerTest {
|
|
// then
|
|
// then
|
|
verify(exactly = 2) { runnable.run() }
|
|
verify(exactly = 2) { runnable.run() }
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|