### Question:
NavigationPresenter { void onRecenterClick() { view.setSummaryBehaviorHideable(false); view.setSummaryBehaviorState(BottomSheetBehavior.STATE_EXPANDED); view.updateWaynameVisibility(true); view.resetCameraPosition(); view.hideRecenterBtn(); } NavigationPresenter(NavigationContract.View view);   }### Answer:
@Test public void onRecenterBtnClick_recenterBtnIsHidden() { NavigationContract.View view = mock(NavigationContract.View.class); NavigationPresenter presenter = new NavigationPresenter(view); presenter.onRecenterClick(); verify(view).hideRecenterBtn(); }
@Test public void onRecenterBtnClick_cameraIsResetToTracking() { NavigationContract.View view = mock(NavigationContract.View.class); NavigationPresenter presenter = new NavigationPresenter(view); presenter.onRecenterClick(); verify(view).resetCameraPosition(); }
@Test public void onRecenterBtnClick_mapWaynmeIsShown() { NavigationContract.View view = mock(NavigationContract.View.class); NavigationPresenter presenter = new NavigationPresenter(view); presenter.onRecenterClick(); verify(view).updateWaynameVisibility(true); }