### Question:
MapboxNavigation implements ServiceConnection { @SuppressWarnings("WeakerAccess") public Snap getSnapEngine() { return navigationEngineFactory.retrieveSnapEngine(); } MapboxNavigation(@NonNull Context context, @NonNull String accessToken);  MapboxNavigation(@NonNull Context context, @NonNull String accessToken,
                          @NonNull MapboxNavigationOptions options);  MapboxNavigation(@NonNull Context context, @NonNull String accessToken,
                          @NonNull MapboxNavigationOptions options, @NonNull LocationEngine locationEngine);   MapboxNavigation(@NonNull Context context, @NonNull String accessToken,
                   @NonNull MapboxNavigationOptions options, NavigationTelemetry navigationTelemetry,
                   LocationEngine locationEngine);   MapboxNavigation(@NonNull Context context, @NonNull String accessToken, NavigationTelemetry navigationTelemetry,
                   LocationEngine locationEngine); void onDestroy(); void addMilestone(@NonNull Milestone milestone); void addMilestones(@NonNull List<Milestone> milestones); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK void removeMilestone(@Nullable Milestone milestone); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK void removeMilestone(int milestoneIdentifier); void setLocationEngine(@NonNull LocationEngine locationEngine); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK @NonNull LocationEngine getLocationEngine(); void startNavigation(@NonNull DirectionsRoute directionsRoute); void stopNavigation(); void addMilestoneEventListener(@NonNull MilestoneEventListener milestoneEventListener); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK void removeMilestoneEventListener(@Nullable MilestoneEventListener milestoneEventListener); void addProgressChangeListener(@NonNull ProgressChangeListener progressChangeListener); void removeProgressChangeListener(@Nullable ProgressChangeListener progressChangeListener); void addOffRouteListener(@NonNull OffRouteListener offRouteListener); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK void removeOffRouteListener(@Nullable OffRouteListener offRouteListener); void addNavigationEventListener(@NonNull NavigationEventListener navigationEventListener); void removeNavigationEventListener(@Nullable NavigationEventListener navigationEventListener); void addFasterRouteListener(@NonNull FasterRouteListener fasterRouteListener); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK void removeFasterRouteListener(@Nullable FasterRouteListener fasterRouteListener); void setCameraEngine(@NonNull Camera cameraEngine); @NonNull Camera getCameraEngine(); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK void setSnapEngine(@NonNull Snap snapEngine); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK Snap getSnapEngine(); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK void setOffRouteEngine(@NonNull OffRoute offRouteEngine); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK @NonNull OffRoute getOffRouteEngine(); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK void setFasterRouteEngine(@NonNull FasterRoute fasterRouteEngine); @SuppressWarnings("WeakerAccess") // Public exposed for usage outside SDK @NonNull FasterRoute getFasterRouteEngine(); String recordFeedback(@FeedbackEvent.FeedbackType String feedbackType,
                               String description, @FeedbackEvent.FeedbackSource String source); void updateFeedback(String feedbackId, @FeedbackEvent.FeedbackType String feedbackType,
                             String description, String screenshot); void cancelFeedback(String feedbackId); @Override void onServiceConnected(ComponentName name, IBinder service); @Override void onServiceDisconnected(ComponentName name);  }### Answer:
@Test public void defaultEngines_snapEngineDidGetInitialized() throws Exception { MapboxNavigation navigation = buildMapboxNavigation(); assertNotNull(navigation.getSnapEngine()); }