SiebelsTim
10/05/2018, 10:05 AMmockk()
as I've demonstrated in the snippet. I've just shown two different methods of creating an object that will be injected for tests. You don't need the TestRestService
when you use mockk()
. It's zero more classes.