anchor.diff:      }, createHttpClient: (SecurityContext c) => mockHttpClient);
     });
   
  -  testWidgets('SvgPicture can be created without a MediaQuery',
  -      (WidgetTester tester) async {
  +  testWidgets('SvgPicture can be created without a MediaQuery', (WidgetTester tester) async {
       final GlobalKey key = GlobalKey();
       await tester.pumpWidget(
         RepaintBoundary(
  
positive.code: 
    testWidgets('SvgPicture.asset', (WidgetTester tester) async {
      final MockAssetBundle mockAsset = MockAssetBundle();
      when(mockAsset.loadString('test.svg'))
          .thenAnswer((_) => Future<String>.value(svgStr));
  
      final GlobalKey key = GlobalKey();
      await tester.pumpWidget(
  
negative.code:   final MockHttpClientRequest mockRequest = MockHttpClientRequest();
    final MockHttpClientResponse mockResponse = MockHttpClientResponse();
  
    when(mockHttpClient.getUrl(any)).thenAnswer((_) => Future<MockHttpClientRequest>.value(mockRequest));
  
    when(mockRequest.close()).thenAnswer((_) => Future<MockHttpClientResponse>.value(mockResponse));
  
    when(mockResponse.transform<Uint8List>(any)).thenAnswer((_) => Stream<Uint8List>.fromIterable(<Uint8List>[svg]));
    when(mockResponse.listen(any,
            onDone: anyNamed('onDone'), onError: anyNamed('onError'), cancelOnError: anyNamed('cancelOnError')))
        .thenAnswer((Invocation invocation) {
      final void Function(Uint8List) onData = invocation.positionalArguments[0];
      final void Function(Object) onError = invocation.namedArguments[#onError];
  