@Test
public void makeRequest_whenGooglePlayServicesIsLinkedAndAdInfoIsCached_shouldFetchAdFast() throws Exception {

    GpsHelperTest.TestAdInfo adInfo = new GpsHelperTest.TestAdInfo();
    GpsHelperTest.populateAndVerifyClientMetadata(context, adInfo);
    GpsHelper.setClassNamesForTesting();
    when(methodBuilder.setStatic(any(Class.class))).thenReturn(methodBuilder);
    when(methodBuilder.addParam(any(Class.class), any())).thenReturn(methodBuilder);
    when(methodBuilder.execute()).thenReturn(
            GpsHelper.GOOGLE_PLAY_SUCCESS_CODE
    );
    subject.makeRequest(nativeGpsHelperListener);
    // no need to sleep since it run the callback without an async task
    verify(nativeGpsHelperListener).onFetchAdInfoCompleted();
    GpsHelperTest.verifyClientMetadata(context, adInfo);
}