@Burst
class ExampleUnitTest(
val case : Case = burstValues(
Case { },
Case { },
Case { },
Case { },
Case { },
)
) {
class Case(
val provideSubject: () -> Unit,
)
@Test
fun test() {
val subject = case.provideSubject()
}
}
> Task :app:compileDebugUnitTestKotlin FAILED
e: file:///C:/Users/epech/Android/Testing/BurstLambdas/app/src/test/kotlin/ExampleUnitTest.kt:9:1 Platform declaration clash: The following declarations have the same JVM signature (access$ExampleUnitTest$_init_$lambda$0()Lkotlin/Unit;):
fun `access$ExampleUnitTest$_init_$lambda$0`(): Unit? defined in com.example.burstlambdas.ExampleUnitTest
fun `access$ExampleUnitTest$_init_$lambda$0`(): Unit? defined in com.example.burstlambdas.ExampleUnitTest
fun `access$ExampleUnitTest$_init_$lambda$0`(): Unit? defined in com.example.burstlambdas.ExampleUnitTest
fun `access$ExampleUnitTest$_init_$lambda$0`(): Unit? defined in com.example.burstlambdas.ExampleUnitTest