{"action":"created","issue":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/1956","labels_url":"https://api.github.com/repos/robolectric/robolectric/issues/1956/labels{/name}","comments_url":"https://api.github.com/repos/robolectric/robolectric/issues/1956/comments","events_url":"https://api.github.com/repos/robolectric/robolectric/issues/1956/events","html_url":"https://github.com/robolectric/robolectric/issues/1956","id":96696807,"number":1956,"title":"Upgrading Roboletric 3.0-rc3 to Roboletric 3.0 has error","user":{"login":"soulkeykim","id":345432,"avatar_url":"https://avatars.githubusercontent.com/u/345432?v=3","gravatar_id":"","url":"https://api.github.com/users/soulkeykim","html_url":"https://github.com/soulkeykim","followers_url":"https://api.github.com/users/soulkeykim/followers","following_url":"https://api.github.com/users/soulkeykim/following{/other_user}","gists_url":"https://api.github.com/users/soulkeykim/gists{/gist_id}","starred_url":"https://api.github.com/users/soulkeykim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soulkeykim/subscriptions","organizations_url":"https://api.github.com/users/soulkeykim/orgs","repos_url":"https://api.github.com/users/soulkeykim/repos","events_url":"https://api.github.com/users/soulkeykim/events{/privacy}","received_events_url":"https://api.github.com/users/soulkeykim/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-23T00:21:15Z","updated_at":"2015-10-01T20:04:19Z","closed_at":"2015-07-23T03:48:06Z","body":"Roboletric 3.0-rc3 has no problem.\r\nHowever, after upgrading Roboletric 3.0, it has been error like below.   \r\n\r\norg.mockito.exceptions.base.MockitoException: \r\n    Cannot mock/spy class com.google.android.gms.maps.GoogleMap\r\n    Mockito cannot mock/spy following:\r\n      - final classes\r\n      - anonymous classes\r\n      - primitive types\r\n\r\nfrom \r\n       testCompile 'org.robolectric:robolectric:3.0-rc3'\r\nto\r\n      testCompile 'org.robolectric:robolectric:3.0'\r\n\r\nCould you please tell me something about this?"},"comment":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/comments/144832779","html_url":"https://github.com/robolectric/robolectric/issues/1956#issuecomment-144832779","issue_url":"https://api.github.com/repos/robolectric/robolectric/issues/1956","id":144832779,"user":{"login":"erd","id":184194,"avatar_url":"https://avatars.githubusercontent.com/u/184194?v=3","gravatar_id":"","url":"https://api.github.com/users/erd","html_url":"https://github.com/erd","followers_url":"https://api.github.com/users/erd/followers","following_url":"https://api.github.com/users/erd/following{/other_user}","gists_url":"https://api.github.com/users/erd/gists{/gist_id}","starred_url":"https://api.github.com/users/erd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erd/subscriptions","organizations_url":"https://api.github.com/users/erd/orgs","repos_url":"https://api.github.com/users/erd/repos","events_url":"https://api.github.com/users/erd/events{/privacy}","received_events_url":"https://api.github.com/users/erd/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T20:04:19Z","updated_at":"2015-10-01T20:04:19Z","body":"Robolectric used to cast a very wide net when determining if a class should be instrumented. Robolectric 3.0 only instruments classes in packages for which we have shadows. Since we don't have any shadow classes in the package `com.google.android.gms.maps`, the classes contained inside are not instrumented (part of the instrumentation process strips classes of `final` modifiers).\r\n\r\nIf you want to contribute a shadow for `GoogleMap`, I'd be happy to help you get started."}}