Michal Klimczak
12/28/2020, 3:19 PMLoadUserUseCase in my Kotlin shared code.
In Swift i have a UserViewModel 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 modulerusshwolf
12/28/2020, 3:26 PMLoadUserUseCase an interface instead of a class. It will translate to Swift as a protocol you can implement.Michal Klimczak
12/28/2020, 3:27 PM