IMPORTANT: The file content has been truncated. Status: Showing lines 1-50 of 199 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: 51. --- FILE CONTENT (truncated) --- package com.servicebook import androidx.test.core.app.ApplicationProvider import com.google.common.truth.Truth.assertThat import io.mockk.every import io.mockk.justRun import io.mockk.mockkStatic import io.mockk.unmockkStatic import io.mockk.verify import io.sentry.Hint import io.sentry.Sentry import io.sentry.SentryEvent import io.sentry.android.core.SentryAndroidOptions import io.sentry.protocol.User import kotlinx.coroutines.test.runTest import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.robolectric.annotation.Config internal class SentryEnabledApp : TestServiceBookApplication() { var doSentryInitCalled = false override val sentryDsn = "https://test@sentry.io/123" override fun initDependencies() { super.initDependencies() every { preferences.isCrashReportingEnabledSync() } returns true } override fun doSentryInit(dsn: String) { doSentryInitCalled = true } } internal class SentryDisabledApp : TestServiceBookApplication() { var doSentryInitCalled = false override val sentryDsn = "https://test@sentry.io/123" override fun doSentryInit(dsn: String) { doSentryInitCalled = true } } internal class EnableNowApp : TestServiceBookApplication() { var doSentryInitCalled = false override val sentryDsn = "https://test@sentry.io/123"