HomeAnalytics { public void sendLoadMoreInteractEvent() { final Map<String, Object> data = new HashMap<>(); data.put(ACTION, PUSH_LOAD_MORE); analyticsManager.logEvent(data, HOME_INTERACT, AnalyticsManager.Action.ENDLESS_SCROLL, navigationTracker.getViewName(true)); } HomeAnalytics(NavigationTracker navigationTracker, AnalyticsManager analyticsManager); void sendTapOnMoreInteractEvent(int bundlePosition, String bundleTag, int itemsInBundle); void sendTapOnMoreInteractEvent(int bundlePosition, String bundleTag, int itemsInBundle,
      String chipTag); void sendScrollRightInteractEvent(int bundlePosition, String bundleTag,
      int itemsInBundle); void sendLoadMoreInteractEvent(); void sendPullRefreshInteractEvent(); void sendTapOnAppInteractEvent(double appRating, String packageName, int appPosition,
      int bundlePosition, String bundleTag, int itemsInBundle); void sendTapOnAppInteractEvent(double appRating, String packageName, int appPosition,
      int bundlePosition, String bundleTag, int itemsInBundle, String chipTag); void sendAdClickEvent(int appRating, String packageName, int bundlePosition,
      String bundleTag, HomeEvent.Type type, ApplicationAd.Network network); void sendActionItemTapOnCardInteractEvent(String bundleTag, int bundlePosition); void sendActionItemEditorialTapOnCardInteractEvent(String bundleTag, int bundlePosition,
      String cardId); void sendActionItemDismissInteractEvent(String bundleTag, int bundlePosition); void sendActionItemImpressionEvent(String bundleTag, int bundlePosition); void sendEditorialInteractEvent(String bundleTag, int bundlePosition, String cardId); void sendEditorialImpressionEvent(String bundleTag, int bundlePosition, String cardId); void sendActionItemEditorialImpressionEvent(String bundleTag, int bundlePosition,
      String cardId); void sendPromotionsIconClickEvent(); void sendPromotionsDialogImpressionEvent(); void sendPromotionsDialogDismissEvent(); void sendPromotionsDialogNavigateEvent(); void sendPromotionsImpressionEvent(); void sendChipHomeInteractEvent(String chipTag); void sendChipInteractEvent(String chipTag); void sendChipTapOnMore(String bundleTag, String chipTag); void sendChipTapOnApp(String bundleTag, String packageName, String chipTag); Map<String, Object> createChipTapInteractMap(String action, String bundleTag,
      String chipTag); void convertAppcAdClick(String clickUrl); void sendReactionButtonClickEvent(); void sendReactedEvent(); void sendDeleteEvent(); static final String HOME_INTERACT; static final String HOME_CHIP_INTERACT; static final String CURATION_CARD_IMPRESSION; static final String CURATION_CARD_CLICK; }
@Test public void sendLoadMoreInteractEvent() throws Exception { homeAnalytics.sendLoadMoreInteractEvent(); HashMap<String, Object> data = new HashMap<>(); data.put("action", PUSH_LOAD_MORE); verify(analyticsManager).logEvent(eq(data), eq("Home_Interact"), eq(AnalyticsManager.Action.ENDLESS_SCROLL), eq("home")); }