use of com.google.android.gms.common.GoogleApiAvailability in project robolectric by robolectric.
the class ShadowGoogleApiAvailabilityTest method getInstance.
@Test
public void getInstance() {
//Given the expected GoogleApiAvailability instance
final GoogleApiAvailability expected = GoogleApiAvailability.getInstance();
//When getting the actual one from the shadow
final GoogleApiAvailability actual = ShadowGoogleApiAvailability.getInstance();
//Then verify that the expected is a not null and equal to the actual one
assertThat(expected).isNotNull().isEqualTo(actual);
}
Aggregations