Testing
Every part of the SDK your code talks to can be answered by your test: the network, the clocks, the map's renderer and navigation.
Every request leaves through an HTTPExchange. Hand the client your own, and it answers with no network:
The client measures every wait on the clock you hand it. A test that answers 503 and then 200 sees the call retried with no real wait:
ScriptedMapSurface stands in for the renderer, so a test drives a MapEngine with no MapLibre:
ScriptedNavigationEngine is a navigation engine whose route requests your test answers:
Code that takes any NavigationEngine runs the same over this engine and over DeviceNavigationEngine.
Build the failure your code handles through its public initializer: