We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a1e615 commit ea4402fCopy full SHA for ea4402f
1 file changed
src/test/kotlin/com/mparticle/kits/SkyhookKitTests.kt
@@ -1,6 +1,7 @@
1
package com.mparticle.kits
2
3
import android.content.Context
4
+import com.mparticle.MParticleOptions
5
import org.junit.Assert
6
import org.junit.Test
7
import org.mockito.Mockito
@@ -38,11 +39,12 @@ class SkyhookKitTests {
38
39
@Test
40
@Throws(Exception::class)
41
fun testClassName() {
- val factory = KitIntegrationFactory()
42
- val integrations = factory.knownIntegrations
+ val options = Mockito.mock(MParticleOptions::class.java)
43
+ val factory = KitIntegrationFactory(options)
44
+ val integrations = factory.supportedKits.values
45
val className = kit.javaClass.name
46
for (integration in integrations) {
- if (integration.value == className) {
47
+ if (integration.name == className) {
48
return
49
}
50
0 commit comments