anchor.diff:              .having((PlatformException e) => e.message, 'message', equals('sayHello failed')),
           ),
         );
  +      channel.setMethodCallHandler(null);
       });
   
       test('can handle method call with other error result', () async {
  
positive.code:             .having((PlatformException e) => e.message, 'message', equals('Invalid argument(s): bad')),
          ),
        );
      });
  
      test('can check the mock handler', () async {
  
negative.code: // Copyright 2014 The Flutter Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style license that can be
  // found in the LICENSE file.
  
  import 'package:flutter/services.dart';
  import 'package:flutter_test/flutter_test.dart';
  