We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb44d20 commit f2ba64fCopy full SHA for f2ba64f
sentry/src/test/java/io/sentry/OutboxSenderTest.kt
@@ -5,6 +5,7 @@ import io.sentry.hints.Retryable
5
import io.sentry.protocol.SentryId
6
import io.sentry.protocol.SentryTransaction
7
import io.sentry.util.HintUtils
8
+import io.sentry.util.thread.NoOpMainThreadChecker
9
import org.mockito.kotlin.any
10
import org.mockito.kotlin.argWhere
11
import org.mockito.kotlin.check
@@ -38,6 +39,7 @@ class OutboxSenderTest {
38
39
init {
40
whenever(options.dsn).thenReturn("https://[email protected]/proj")
41
whenever(options.dateProvider).thenReturn(SentryNanotimeDateProvider())
42
+ whenever(options.mainThreadChecker).thenReturn(NoOpMainThreadChecker.getInstance())
43
whenever(hub.options).thenReturn(this.options)
44
}
45
0 commit comments