var context: Context = Mockito.mock(Context::class.java)
Mock context
- Details
- Written by: Stanko Milosev
- Category: Android
- Hits: 454
Just a shor reminder for my sef before I forget it, how to mock a context: