anchor.diff:          expect('$uri', 'http://127.0.0.1:54804/PTwjm8Ii8qg=/');
         });
   
  -      testUsingContext('discovers uri if log line contains non-localhost', () async {
  -        initialize();
  +      testWithoutContext('discovers uri if log line contains non-localhost', () async {
           final Future<Uri> uriFuture = discoverer.uri;
           logReader.addLine('I/flutter : Observatory listening on http://127.0.0.1:54804/PTwjm8Ii8qg=/');
           final Uri uri = await uriFuture;
  
positive.code:     FakeDeviceLogReader logReader;
      ProtocolDiscovery discoverer;
  
      /// Performs test set-up functionality that must be performed as part of
      /// the `test()` pass and not part of the `setUp()` pass.
      ///
      /// This exists to make sure we're not creating an error that tries to
      /// cross an error-zone boundary. Our use of `testUsingContext()` runs the
      /// test code inside an error zone, but the `setUp()` code is not run in
      /// any zone. This creates the potential for errors that try to cross
      /// error-zone boundaries, which are considered uncaught.
      ///
      /// This also exists for cases where our initialization requires access to
      /// a `Context` object, which is only set up inside the zone.
      ///
      /// These issues do not pertain to real code and are a test-only concern,
      /// because in real code, the zone is set up in `main()`.
      ///
      /// See also: [runZoned]
      void initialize({
        int devicePort,
        Duration throttleDuration = const Duration(milliseconds: 200),
      }) {
        logReader = FakeDeviceLogReader();
        discoverer = ProtocolDiscovery.observatory(
          logReader,
          ipv6: false,
          hostPort: null,
          devicePort: devicePort,
          throttleDuration: throttleDuration,
          logger: BufferLogger.test(),
        );
      }
  
      testUsingContext('returns non-null uri future', () async {
        initialize();
        expect(discoverer.uri, isNotNull);
      });
  
  
negative.code:         expect(actualUri, timeoutUri);
        });
  
        testWithoutContext('discovers uri if log line contains Android prefix', () async {
          logReader.addLine('I/flutter : Observatory listening on http://127.0.0.1:52584');
          final Uri uri = await discoverer.uri;
          expect(uri.port, 52584);
          expect('$uri', 'http://127.0.0.1:52584');
        });
  
        testWithoutContext('discovers uri if log line contains auth key', () async {
          final Future<Uri> uriFuture = discoverer.uri;
          logReader.addLine('I/flutter : Observatory listening on http://127.0.0.1:54804/PTwjm8Ii8qg=/');
          final Uri uri = await uriFuture;
  