anchor.diff:        called = false;
         //objs = new List<Object>();
         events = new List<LayersControlEvent>();
  -
  -      DefaultIcon.imagePath = '../lib/images';
       });
   
       group('baselayerchange event', () {
  
positive.code:         map.setView(new LatLng(0, 0), 14);
        });
  
        test('when an included layer is addded or removed', () {
          final baseLayer = new TileLayer(),
            overlay = new Marker(new LatLng(0, 0)),
            layers = new TestLayers({'Base': baseLayer}, {'Overlay': overlay})..addTo(map);
  
          //var spy = sinon.spy(layers, '_update');
  
          map.addLayer(overlay);
          map.removeLayer(overlay);
  
          expect(new Future.delayed(const Duration(seconds: 1), () {
            expect(layers.called, isTrue);
            expect(layers.callCount, equals(2));
          }), completes);
  
negative.code:     callCount++;
      super.update();
    }
  
    void resetTest() {
      called = false;
      callCount = 0;
    }
  }