@Test public void testGetDynamicLink_Intent() { Intent intent = new Intent(); api.getDynamicLink(intent); verify(mockGoogleApi) .doWrite(ArgumentMatchers.<TaskApiCall<DynamicLinksClient, PendingDynamicLinkData>>any()); }
@Override public Task<PendingDynamicLinkData> getDynamicLink(@NonNull final Intent intent) { Task<PendingDynamicLinkData> result = googleApi.doWrite(new GetDynamicLinkImpl(analytics, intent.getDataString())); PendingDynamicLinkData pendingDynamicLinkData = getPendingDynamicLinkData(intent); if (pendingDynamicLinkData != null) { result = Tasks.forResult(pendingDynamicLinkData); } return result; }
FirebaseDynamicLinksImpl extends FirebaseDynamicLinks { @Override public Task<PendingDynamicLinkData> getDynamicLink(@NonNull final Intent intent) { Task<PendingDynamicLinkData> result = googleApi.doWrite(new GetDynamicLinkImpl(analytics, intent.getDataString())); PendingDynamicLinkData pendingDynamicLinkData = getPendingDynamicLinkData(intent); if (pendingDynamicLinkData != null) { result = Tasks.forResult(pendingDynamicLinkData); } return result; } }
FirebaseDynamicLinksImpl extends FirebaseDynamicLinks { @Override public Task<PendingDynamicLinkData> getDynamicLink(@NonNull final Intent intent) { Task<PendingDynamicLinkData> result = googleApi.doWrite(new GetDynamicLinkImpl(analytics, intent.getDataString())); PendingDynamicLinkData pendingDynamicLinkData = getPendingDynamicLinkData(intent); if (pendingDynamicLinkData != null) { result = Tasks.forResult(pendingDynamicLinkData); } return result; } FirebaseDynamicLinksImpl(FirebaseApp firebaseApp, @Nullable AnalyticsConnector analytics); @VisibleForTesting  FirebaseDynamicLinksImpl(
      GoogleApi<NoOptions> googleApi, @Nullable AnalyticsConnector analytics); }
FirebaseDynamicLinksImpl extends FirebaseDynamicLinks { @Override public Task<PendingDynamicLinkData> getDynamicLink(@NonNull final Intent intent) { Task<PendingDynamicLinkData> result = googleApi.doWrite(new GetDynamicLinkImpl(analytics, intent.getDataString())); PendingDynamicLinkData pendingDynamicLinkData = getPendingDynamicLinkData(intent); if (pendingDynamicLinkData != null) { result = Tasks.forResult(pendingDynamicLinkData); } return result; } FirebaseDynamicLinksImpl(FirebaseApp firebaseApp, @Nullable AnalyticsConnector analytics); @VisibleForTesting  FirebaseDynamicLinksImpl(
      GoogleApi<NoOptions> googleApi, @Nullable AnalyticsConnector analytics); PendingDynamicLinkData getPendingDynamicLinkData(@NonNull Intent intent); @Override Task<PendingDynamicLinkData> getDynamicLink(@NonNull final Intent intent); @Override Task<PendingDynamicLinkData> getDynamicLink(@NonNull final Uri dynamicLinkUri); @Override DynamicLink.Builder createDynamicLink(); static Uri createDynamicLink(Bundle builderParameters); Task<ShortDynamicLink> createShortDynamicLink(final Bundle builderParameters); static void verifyDomainUriPrefix(Bundle builderParameters); }
FirebaseDynamicLinksImpl extends FirebaseDynamicLinks { @Override public Task<PendingDynamicLinkData> getDynamicLink(@NonNull final Intent intent) { Task<PendingDynamicLinkData> result = googleApi.doWrite(new GetDynamicLinkImpl(analytics, intent.getDataString())); PendingDynamicLinkData pendingDynamicLinkData = getPendingDynamicLinkData(intent); if (pendingDynamicLinkData != null) { result = Tasks.forResult(pendingDynamicLinkData); } return result; } FirebaseDynamicLinksImpl(FirebaseApp firebaseApp, @Nullable AnalyticsConnector analytics); @VisibleForTesting  FirebaseDynamicLinksImpl(
      GoogleApi<NoOptions> googleApi, @Nullable AnalyticsConnector analytics); PendingDynamicLinkData getPendingDynamicLinkData(@NonNull Intent intent); @Override Task<PendingDynamicLinkData> getDynamicLink(@NonNull final Intent intent); @Override Task<PendingDynamicLinkData> getDynamicLink(@NonNull final Uri dynamicLinkUri); @Override DynamicLink.Builder createDynamicLink(); static Uri createDynamicLink(Bundle builderParameters); Task<ShortDynamicLink> createShortDynamicLink(final Bundle builderParameters); static void verifyDomainUriPrefix(Bundle builderParameters); static final String KEY_SCION_DATA; static final String EXTRA_DYNAMIC_LINK_DATA; }