What's wrong with this conversion ? > java ```...
# android
a
What's wrong with this conversion ?
java
Copy code
doAnswer(answerVoid(
        (OnDataListListener<List<BEntity>> myCallback) -> myCallback.onSuccess(mList))).when(
        mInteractor).performGetBList(any(OnDataListListener.class), anyBoolean());
Kotlin
Copy code
doAnswer(answerVoid { listener: OnDataListListener<List<BEntity>> ->
      listener.onSuccess(
          emptyList())
    }).`when`<DragonInteractor>(mInteractor)
        .performGetBList(any<OnDataListListener>(OnDataListListener<*>::class.java),
            anyBoolean())