anchor.diff:          'barEnter': 0,
           'barLeave': 0
         });
  +
  +      expect(router.findRoute('foo').dontLeaveOnParamChanges, false);
   
         router.route('/foo/bar').then(expectAsync((_) {
           expect(counters, {
  
positive.code:       }));
      });
  
      test('should not leave leaving on when dontLeaveOnParamChanges', () {
        var counters = <String, int>{
          'fooPreEnter': 0,
          'fooPreLeave': 0,
  
negative.code:       _testAllowEnter(false);
      });
  
      test('should leave on parameters changes when dontLeaveOnParamChanges is false (default)', () {
        var counters = <String, int>{
          'fooPreEnter': 0,
          'fooPreLeave': 0,
  