3 var MoreRouting
= scope
.MoreRouting
= scope
.MoreRouting
|| {};
4 MoreRouting
.MockDriver
= MockDriver
;
6 /** A mock driver for use in your tests. */
7 function MockDriver() {
8 MoreRouting
.Driver
.apply(this, arguments
);
10 MockDriver
.prototype = Object
.create(MoreRouting
.Driver
.prototype);
12 MockDriver
.prototype.navigateToUrl
= function navigateToUrl(url
) {
13 this.setCurrentPath(url
);