### Question:
SwrveDeeplinkManager { protected static boolean isSwrveDeeplink(Bundle bundle) { if (bundle != null) { String targetURL = bundle.getString(SWRVE_FB_TARGET_URL); if (SwrveHelper.isNotNullOrEmpty(targetURL)) { Uri data = Uri.parse(targetURL); if (data != null) { String campaignID = data.getQueryParameter(SWRVE_AD_CONTENT); return (SwrveHelper.isNotNullOrEmpty(campaignID)); } } } return false; } SwrveDeeplinkManager(Map<String, String> standardParams, final SwrveConfig config, final Context context, SwrveAssetsManager swrveAssetsManager, IRESTClient restClient); SwrveMessage getSwrveMessage(); void setSwrveMessage(SwrveMessage swrveMessage); IRESTClient getRestClient(); void setRestClient(IRESTClient restClient); static final String SWRVE_AD_MESSAGE; public SwrveMessageListener swrveMessageListener; public SwrveConversationListener swrveConversationListener; }### Answer:
@Test public void testIsSwrveDeeplink() { Bundle bundle = new Bundle(); String targetUrlKey = "target_url"; bundle.putString(targetUrlKey,"swrve: assertTrue(SwrveDeeplinkManager.isSwrveDeeplink(bundle) == false); bundle.putString(targetUrlKey,"swrve: assertTrue(SwrveDeeplinkManager.isSwrveDeeplink(bundle) == false); bundle.putString(targetUrlKey,"swrve: assertTrue(SwrveDeeplinkManager.isSwrveDeeplink(bundle) == true); bundle.putString(targetUrlKey,"customer: assertTrue(SwrveDeeplinkManager.isSwrveDeeplink(bundle) == true); }