### Question:
NavigationNotificationProvider { void shutdown(Context context) { navigationNotification.onNavigationStopped(context); navigationNotification = null; shouldUpdate = false; } NavigationNotificationProvider(Context context, MapboxNavigation mapboxNavigation);   }### Answer:
@Test public void onShutdown_onNavigationStoppedIsCalled() { NavigationNotification notification = mock(NavigationNotification.class); MapboxNavigation mapboxNavigation = buildNavigationWithNotificationOptions(notification); Context context = mock(Context.class); NavigationNotificationProvider provider = new NavigationNotificationProvider(context, mapboxNavigation); provider.shutdown(context); verify(notification).onNavigationStopped(context); }