IMPORTANT: The file content has been truncated. Status: Showing lines 31-50 of 608 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) --- import kotlinx.coroutines.test.runTest import org.junit.Before import org.junit.Test import org.junit.experimental.categories.Category /** * Unit tests for [BillingManagerImpl] and [DebugBillingOverride]. * * These tests mock [BillingClient] via a fake [BillingClientProvider]. * * This class is tagged [LocalOnly] and excluded from the standard Gradle test run because * mocking [BillingClient] (a final Android-library class) can be unreliable in the * headless Robolectric environment. Run it directly from the IDE to exercise billing logic. */ @OptIn(ExperimentalCoroutinesApi::class) @Category(LocalOnly::class) class BillingManagerImplTest { private val testDispatcher = UnconfinedTestDispatcher() private val testScope = TestScope(testDispatcher)