@Test public void testGetEta() { mBaseGuidancePresenter.getEta(); verify(mNavigationManager).getEta(false, Route.TrafficPenaltyMode.OPTIMAL); when(mNavigationManager.getEta(false, Route.TrafficPenaltyMode.OPTIMAL)) .thenReturn(NavigationManager.INVALID_ETA_DATE); assertNotNull(mBaseGuidancePresenter.getEta()); }
public @Nullable Date getEta() { return mNavigationManager.getEta(false, Route.TrafficPenaltyMode.OPTIMAL); }
BaseGuidancePresenter { public @Nullable Date getEta() { return mNavigationManager.getEta(false, Route.TrafficPenaltyMode.OPTIMAL); } }
BaseGuidancePresenter { public @Nullable Date getEta() { return mNavigationManager.getEta(false, Route.TrafficPenaltyMode.OPTIMAL); } protected  BaseGuidancePresenter(@NonNull NavigationManager navigationManager, Route route); }
BaseGuidancePresenter { public @Nullable Date getEta() { return mNavigationManager.getEta(false, Route.TrafficPenaltyMode.OPTIMAL); } protected  BaseGuidancePresenter(@NonNull NavigationManager navigationManager, Route route); void resume(); void pause(); Maneuver getNextManeuver(); Maneuver getAfterNextManeuver(); long getNextManeuverDistance(); Route getRoute(); void setRoute(Route route); @Nullable Date getEta(); long getDestinationDistance(); Integer getTimeToArrival(); }
BaseGuidancePresenter { public @Nullable Date getEta() { return mNavigationManager.getEta(false, Route.TrafficPenaltyMode.OPTIMAL); } protected  BaseGuidancePresenter(@NonNull NavigationManager navigationManager, Route route); void resume(); void pause(); Maneuver getNextManeuver(); Maneuver getAfterNextManeuver(); long getNextManeuverDistance(); Route getRoute(); void setRoute(Route route); @Nullable Date getEta(); long getDestinationDistance(); Integer getTimeToArrival();  }