IMPORTANT: The file content has been truncated. Status: Showing lines 135-165 of 217 total lines. Action: To read more of the file, you can use the 'start_line' and 'end_line' parameters in a subsequent 'read_file' call. For example, to read the next section of the file, use start_line: 166. --- FILE CONTENT (truncated) --- val options = SentryAndroidOptions() mockkStatic(io.sentry.android.core.SentryAndroid::class) io.mockk.every { io.sentry.android.core.SentryAndroid.init( any(), any>(), ) } answers { val config = secondArg>() config.configure(options) } app.doSentryInit("https://test@sentry.io/123") assertThat(options.dsn).isEqualTo("https://test@sentry.io/123") assertThat(options.environment).isEqualTo("debug") assertThat(options.release).isEqualTo( "${BuildConfig.APPLICATION_ID}@${BuildConfig.VERSION_NAME}+${BuildConfig.VERSION_CODE}", ) assertThat(options.sampleRate).isEqualTo(1.0) assertThat(options.tracesSampleRate).isEqualTo(0.0) assertThat(options.isSendDefaultPii).isFalse() assertThat(options.isEnableUserInteractionTracing).isFalse() assertThat(options.isEnableAutoSessionTracking).isFalse() assertThat(options.isAttachScreenshot).isFalse() assertThat(options.isAttachViewHierarchy).isFalse() unmockkStatic(io.sentry.android.core.SentryAndroid::class) }