com.example.smartphinphone.MainActivity

Google Groups | Phlip Plumlee | 3 years ago
  1. 0

    MockitoException: Failed to mock class com.example.example.test.MainActivity

    Google Groups | 3 years ago | Phlip Plumlee
    com.example.smartphinphone.MainActivity

    Root Cause Analysis

    1. com.example.smartphinphone.MainActivity

      No message provided

      at com.example.smartphinphone.test.ActivityTests.test_mockito_mocks_activities()
    2. com.example.smartphinphone
      ActivityTests.test_mockito_mocks_activities
      1. com.example.smartphinphone.test.ActivityTests.test_mockito_mocks_activities(ActivityTests.java:22)
      1 frame
    3. Java RT
      Method.invokeNative
      1. java.lang.reflect.Method.invokeNative(Native Method)
      1 frame
    4. Android Platform
      AndroidTestRunner.runTest
      1. android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214)
      2. android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199)
      3. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
      4. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
      4 frames