### Question:
GnssNavigationMessageProvider extends RemoteListenerHelper<IGnssNavigationMessageListener> { @Override protected int registerWithService() { boolean result = mNative.startNavigationMessageCollection(); if (result) { mCollectionStarted = true; return RemoteListenerHelper.RESULT_SUCCESS; } else { return RemoteListenerHelper.RESULT_INTERNAL_ERROR; } } 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 register_nativeStarted() { mTestProvider.registerWithService(); verify(mMockNative).startNavigationMessageCollection(); }