anchor.diff:      mockFlutterDevice = MockFlutterDevice();
       mockDevice = FakeDevice();
       mockVMService = MockVMService();
  -    mockDevFS = MockDevFS();
  -    mockDevtoolsLauncher = MockDevtoolsLauncher();
  -
  -    // DevFS Mocks
  -    when(mockDevFS.lastCompiled).thenReturn(DateTime(2000));
  -    when(mockDevFS.sources).thenReturn(<Uri>[]);
  -    when(mockDevFS.baseUri).thenReturn(Uri());
  -    when(mockDevFS.destroy()).thenAnswer((Invocation invocation) async { });
  -    when(mockDevFS.assetPathsToEvict).thenReturn(<String>{});
  +    mockDevFS = FakeDevFS();
       // FlutterDevice Mocks.
       when(mockFlutterDevice.updateDevFS(
         invalidatedFiles: anyNamed('invalidatedFiles'),
  
positive.code:     expect(testLogger.errorText, contains('The entrypoint file (i.e. the file with main())'));
      expect(result.fatal, false);
      expect(result.code, 0);
    }), overrides: <Type, Generator>{
      DevtoolsLauncher: () => mockDevtoolsLauncher,
    });
  
     testUsingContext('ResidentRunner resets compilation time on reload reject', () => testbed.run(() async {
      fakeVmServiceHost = FakeVmServiceHost(requests: <VmServiceExpectation>[
  
negative.code:     await residentRunner.run(enableDevTools: true);
  
      expect(globals.fs.file(globals.fs.path.join('build', 'cache.dill')), isNot(exists));
    }));
  
    testUsingContext('HotRunner copies compiled app.dill to cache during startup with --track-widget-creation', () => testbed.run(() async {
      fakeVmServiceHost = FakeVmServiceHost(requests: <VmServiceExpectation>[
  