Join Slack
Hi Everyone, wondering if there is a way to mock Context ? tried mock(Context::class.java) and @Mock...
# test
m
mben
07/17/2020, 2:04 PM
Hi Everyone, wondering if there is a way to mock Context ? tried mock(Context::class.java) and @Mock always same error Mockito cannot mock this class: class android.content.Context
8
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by