<dependency>
<groupId>org.robolectric</groupId>
<artifactId>shadows-play-services</artifactId>
<version>3.2.2</version>
</dependency>
@Grapes(
@Grab(group='org.robolectric', module='shadows-play-services', version='3.2.2')
)
compile
|-- org.robolectric:robolectric:3.2.2
|-- org.robolectric:shadows-core:3.2.2
test
|-- com.android.support:support-v4:23.2.0
|-- com.google.android.gms:play-services-base:8.4.0
|-- com.google.android.gms:play-services-basement:8.4.0
|-- org.robolectric:android-all:7.1.0_r7-robolectric-0
|-- junit:junit:4.12
|-- org.hamcrest:hamcrest-junit:2.0.0.0