File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/test/kotlin/com/mparticle/kits Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11package com.mparticle.kits
22
33import android.content.Context
4+ import com.mparticle.MParticleOptions
45import org.junit.Assert
56import org.junit.Before
67import org.junit.Test
@@ -47,11 +48,12 @@ class KitTests {
4748 @Test
4849 @Throws(Exception ::class )
4950 fun testClassName () {
50- val factory = KitIntegrationFactory ()
51- val integrations = factory.knownIntegrations
51+ val options = Mockito .mock(MParticleOptions ::class .java)
52+ val factory = KitIntegrationFactory (options)
53+ val integrations = factory.supportedKits.values
5254 val className = kit.javaClass.name
5355 for (integration in integrations) {
54- if (integration.value == className) {
56+ if (integration.name == className) {
5557 return
5658 }
5759 }
You can’t perform that action at this time.
0 commit comments