anchor.diff:    });
   
     testUsingContext('web resident runner is debuggable', () {
  -    final ResidentRunner residentWebRunner = setUpResidentRunner(mockFlutterDevice);
  +    final ResidentRunner residentWebRunner = setUpResidentRunner(flutterDevice);
       fakeVmServiceHost = FakeVmServiceHost(requests: kAttachExpectations.toList());
   
       expect(residentWebRunner.debuggingEnabled, true);
  
positive.code:     ));
      final DebugConnectionInfo debugConnectionInfo = await connectionInfoCompleter.future;
  
      verify(mockAppConnection.runMain()).called(1);
      expect(logger.statusText, contains('Debug service listening on ws://127.0.0.1/abcd/'));
      expect(debugConnectionInfo.wsUri.toString(), 'ws://127.0.0.1/abcd/');
    }, overrides: <Type, Generator>{
  
negative.code:     return currentCompleter.future;
    }
  }
  
  class FakeFlutterDevice extends Fake implements FlutterDevice {
    Uri testUri;
    UpdateFSReport report = UpdateFSReport(
      success: true,
      syncedBytes: 0,
      invalidatedSourcesCount: 1,
    );
    Object reportError;
  
    @override
    ResidentCompiler generator;
  
    @override
    Stream<Uri> get observatoryUris => Stream<Uri>.value(testUri);
  
    @override
    FlutterVmService vmService;
  
    DevFS _devFS;
  
    @override
    DevFS get devFS => _devFS;
  
    @override
    set devFS(DevFS value) { }
  
    @override
    Device device;
  
    @override
    Future<void> stopEchoingDeviceLog() async { }
  
    @override
    Future<void> initLogReader() async { }
  
    @override
    Future<Uri> setupDevFS(String fsName, Directory rootDirectory) async {
      return testUri;
    }
  
    @override
    Future<void> exitApps({Duration timeoutDelay = const Duration(seconds: 10)}) async { }
  
    @override
    Future<void> connect({
      ReloadSources reloadSources,
      Restart restart,
      CompileExpression compileExpression,
      GetSkSLMethod getSkSLMethod,
      PrintStructuredErrorLogMethod printStructuredErrorLogMethod,
      int hostVmServicePort,
      int ddsPort,
      bool disableServiceAuthCodes = false,
      bool enableDds = true,
      @required bool allowExistingDdsInstance,
      bool ipv6 = false,
    }) async { }
  
    @override
    Future<UpdateFSReport> updateDevFS({
      Uri mainUri,
      String target,
      AssetBundle bundle,
      DateTime firstBuildTime,
      bool bundleFirstUpload = false,
      bool bundleDirty = false,
      bool fullRestart = false,
      String projectRootPath,
      String pathToReload,
      String dillOutputPath,
      List<Uri> invalidatedFiles,
      PackageConfig packageConfig,
    }) async {
      if (reportError != null) {
        throw reportError;
      }
      return report;
    }
  
    @override
    Future<void> updateReloadStatus(bool wasReloadSuccessful) async { }
  }
  