<https://stackoverflow.com/questions/73080681/mock...
# stackoverflow
u
[mockk][Kotlin][Failed to transform class java.lang.IllegalStateException: A wildcard does not represent an erasable type:? I am trying to mock a Usecase(interface) in project and I am getting this exception while mocking one interface did anyone encountered such issue while using this? please help. java.lang.IllegalStateException: A wildcard does not represent an erasable type: ? at net.bytebuddy.description.type.TypeDescription$Generic$OfWildcardType.asErasure(TypeDescription.java:4491) at net.bytebuddy.description.type.TypeList$Generic$AbstractBase.asErasures(TypeList.java:336) at...