Posts by Rafael de Mattos • 1 point
2 posts
-
0
votes1
answer118
viewsA: Instantiate Dependency Injection Class using Kotlin in Unit Tests
After talking to more experienced devs I ended up adopting another library called Mockk that is able to mock interfaces and classes more easily!…
-
0
votes1
answer118
viewsQ: Instantiate Dependency Injection Class using Kotlin in Unit Tests
I’m trying to find a solution for how I can instantiate a class that uses dependency injection into unit testing using Kotlin and Junit. I have a class that uses addiction injection: class…