Michal Klimczak12/28/2020, 3:19 PM
in my Kotlin shared code. In Swift i have a
which has the usecase injected. Now i want to write tests for this ViewModel, so I need to create a fake. But there is no protocol to conform to and of course
Cannot inherit from non-open class 'LoadUserUseCase' outside of its defining module
russhwolf12/28/2020, 3:26 PM
an interface instead of a class. It will translate to Swift as a protocol you can implement.
Michal Klimczak12/28/2020, 3:27 PM