org.mockito.exceptions.base.MockitoException: Failed to mock class com.example.example.test.MockActivity

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • org.mockito.exceptions.base.MockitoException: Failed to mock class com.example.example.test.MockActivity at com.smartphins.example.test.SmartPhinsTest.test_mockito_mocks_activities(ExampleTest.java:39) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214) at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
    No Bugmate found.