BaseGuidancePresenter { public long getNextManeuverDistance() { return mNavigationManager.getNextManeuverDistance(); } 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();  }
@Test public void testGetNextManeuverDistance() { when(mNavigationManager.getNextManeuverDistance()).thenReturn(1L); assertThat(mBaseGuidancePresenter.getNextManeuverDistance(), is(1L)); }