-
Notifications
You must be signed in to change notification settings - Fork 0
Break up me.psanders.ShortRouteFinder into testable components #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Mock This matrix should be random, but it should not change across calls or even executions. |
Note: we'll have to mock |
It might be better to simply remove the calls to |
Factory for matrix should take
flags
, a list ofplaces
, and aDistanceMatrixApiRequest
object, modify that object based on the flags, and return aMatrixGraph<String, Long>
DistanceMatrixApiRequest
that fails to connect to the internet, i.e.,throws ConnectException
GeoApiContext
, e.g.,null
, no API key, etc.The text was updated successfully, but these errors were encountered: