Fix broken exoplayer pool test.

This commit is contained in:
Alex Hart
2026-01-30 11:45:54 -04:00
committed by Greyson Parrelli
parent 04707b00e7
commit bc592cc4e2

View File

@@ -1,12 +1,18 @@
package org.thoughtcrime.securesms.video.exo
import android.app.Application
import androidx.media3.exoplayer.ExoPlayer
import io.mockk.mockk
import org.junit.Assert.assertNotNull
import org.junit.Assert.assertThrows
import org.junit.Assert.assertTrue
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
@RunWith(RobolectricTestRunner::class)
@Config(application = Application::class)
class ExoPlayerPoolTest {
@Test
fun `Given an empty pool, when I require a player, then I expect a player`() {