RecommendationStats { public void updateVisitStatsPerRightNode(int numVisits) { updateMinVisitsPerRightNode(numVisits); updateMaxVisitsPerRightNode(numVisits); } RecommendationStats();  RecommendationStats(
    int numDirectNeighbors,
    int numRightNodesReached,
    int numRHSVisits,
    int minVisitsPerRightNode,
    int maxVisitsPerRightNode,
    int numRightNodesFiltered); int getNumDirectNeighbors(); void setNumDirectNeighbors(int numDirectNeighbors); int getNumRightNodesReached(); void setNumRightNodesReached(int numRightNodesReached); void setNumRHSVisits(int numRHSVisits); int getNumRHSVisits(); void addToNumRHSVisits(int numVisits); void setMinVisitsPerRightNode(int minVisitsPerRightNode); int getMinVisitsPerRightNode(); void updateMinVisitsPerRightNode(int numVisits); void setMaxVisitsPerRightNode(int maxVisitsPerRightNode); int getMaxVisitsPerRightNode(); void updateMaxVisitsPerRightNode(int numVisits); void updateVisitStatsPerRightNode(int numVisits); int getNumRightNodesFiltered(); void setNumRightNodesFiltered(int numRightNodesFiltered); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); void reset();  }
@Test public void testUpdateVisitStatsPerRightNode() { RecommendationStats recommendationStats = new RecommendationStats(); recommendationStats.updateVisitStatsPerRightNode(0); RecommendationStats recommendationStatsTwo = new RecommendationStats(); assertFalse(recommendationStats.equals(recommendationStatsTwo)); assertEquals(0, recommendationStats.getMinVisitsPerRightNode()); }