MockK error: START NON-TRANSLATABLE java.lang.StackOverflowError when mocking object

后端 未结 0 1247
北荒
北荒 2021-01-31 05:40

I have this test with Kotlin and JUnit 5:

@ExtendWith(MockKExtension::class)
class MyTest {

  @MockK
  lateinit var repo: MyRepository

  @Test
  fun test() {
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题