Is there any workaround to use @MockkBean on a Kotlin interface property?
sillyquestion opened this issue · 1 comments
sillyquestion commented
Is there any workaround to use @MockkBean on a Kotlin interface property?
At present when I try it I get an error message 'This annotation is not applicable to target 'member property without backing field or delegate''
jnizet commented
Hy @sillyquestion. I'm not sure what your goal is. The MockkBean annotation is used to annotate a property of a JUnit test class. JUnit tests can't be interfaces.