Fail fast
Closed this issue · 3 comments
KosRud commented
In case when list countries
is empty it is already clear that something went wrong. There is no point in continuing execution with corrupted data
cl0ne commented
It'll just return an empty list in that case.
KosRud commented
the countries
list is never supposed to be empty because if it is, the Simulator
is not created
cl0ne commented
I know that and I don't see any reason why simulator cannot return empty list for empty input even if the client code won't cause this situation.