<dependency>
<groupId>org.robolectric</groupId>
<artifactId>shadows-play-services</artifactId>
<version>3.0-rc1</version>
</dependency>
@Grapes(
@Grab(group='org.robolectric', module='shadows-play-services', version='3.0-rc1')
)
<parent> <groupId>org.robolectric</groupId> <artifactId>robolectric-shadows</artifactId> <version>3.0-rc1</version> </parent>
compile
|-- org.robolectric:robolectric
provided
|-- org.robolectric:android-all
|-- com.android.support:support-v4:19.0.1
|-- com.google.android.gms:play-services:6.5.87
test