angular-docs-cn/modules/angular2/test/router/spies.dart

20 lines
443 B
Dart
Raw Normal View History

2015-08-26 14:41:41 -04:00
library router.spies;
import 'package:angular2/router.dart';
import 'package:angular2/test_lib.dart';
@proxy
class SpyLocation extends SpyObject implements Location {
noSuchMethod(m) => super.noSuchMethod(m);
}
@proxy
class SpyRouter extends SpyObject implements Router {
noSuchMethod(m) => super.noSuchMethod(m);
}
@proxy
class SpyRouterOutlet extends SpyObject implements RouterOutlet {
noSuchMethod(m) => super.noSuchMethod(m);
}