@Test
public void makeRequest_whenGooglePlayServicesIsNotLinked_shouldFetchAdFast() throws Exception {

    SharedPreferencesHelper.getSharedPreferences(context).edit().clear().commit();
    GpsHelperTest.verifyCleanClientMetadata(context);
    GpsHelper.setClassNamesForTesting();
    when(methodBuilder.setStatic(any(Class.class))).thenReturn(methodBuilder);
    when(methodBuilder.addParam(any(Class.class), any())).thenReturn(methodBuilder);
    // return error code so it fails
    when(methodBuilder.execute()).thenReturn(GpsHelper.GOOGLE_PLAY_SUCCESS_CODE + 1);
    subject.makeRequest(nativeGpsHelperListener);
    // no need to sleep since it run the callback without an async task
    verify(nativeGpsHelperListener).onFetchAdInfoCompleted();
    GpsHelperTest.verifyCleanClientMetadata(context);
}