arild
09/23/2019, 1:12 PMprivate val someMockedDependency: SomeClass = mockk() vs @MockK private lateinit var someMockedDependency: SomeClass?wbertan
09/23/2019, 1:14 PM= mockk(), without the annotation, so you don’t need to “init” the AnnotationProccess, and in the tests where I use it, along the Robolectric, it was making a difference by around 6s (compared when using the @MockK with the “init” method)arild
09/23/2019, 1:41 PM@InjectMockKs?wbertan
09/23/2019, 1:42 PM