Currently the routing tests are based on calls to a mock NavigatorObserver beeing verified.
This is not perfect because the navigator only gets notfied when the routing action completes.
A better approach would be to provide a hybrid mock router which has alls neccessary routes setup to run test but allows methods like push pop replace etc beeing verifeid
Currently the routing tests are based on calls to a mock
NavigatorObserver
beeing verified. This is not perfect because the navigator only gets notfied when the routing action completes.A better approach would be to provide a hybrid mock router which has alls neccessary routes setup to run test but allows methods like push pop replace etc beeing verifeid