### Question:
GnssNavigationMessageProvider extends RemoteListenerHelper<IGnssNavigationMessageListener> { @Override protected boolean isAvailableInPlatform() { return mNative.isNavigationMessageSupported(); } protected  GnssNavigationMessageProvider(Context context, Handler handler); @VisibleForTesting  GnssNavigationMessageProvider(Context context, Handler handler,
            GnssNavigationMessageProviderNative aNative); void onNavigationMessageAvailable(final GnssNavigationMessage event); void onCapabilitiesUpdated(boolean isGnssNavigationMessageSupported); void onGpsEnabledChanged();  }### Answer:
@Test public void isSupported_nativeIsSupported() { when(mMockNative.isNavigationMessageSupported()).thenReturn(true); assertThat(mTestProvider.isAvailableInPlatform()).isTrue(); when(mMockNative.isNavigationMessageSupported()).thenReturn(false); assertThat(mTestProvider.isAvailableInPlatform()).isFalse(); }