anchor.diff:  import 'package:flutter_tools/src/features.dart';
   import 'package:flutter_tools/src/reporting/reporting.dart';
   import 'package:flutter_tools/src/windows/visual_studio.dart';
  -import 'package:mockito/mockito.dart';
  +import 'package:test/fake.dart';
   import 'package:process/process.dart';
   
   import '../../src/common.dart';
  
positive.code:   });
  
    testUsingContext('Windows build invokes build and writes generated files', () async {
      final BuildWindowsCommand command = BuildWindowsCommand()
        ..visualStudioOverride = mockVisualStudio;
      setUpMockProjectFilesForBuild();
      when(mockVisualStudio.cmakePath).thenReturn(cmakePath);
  
      processManager = FakeProcessManager.list(<FakeCommand>[
        cmakeGenerationCommand(),
  
negative.code:   });
  
    testUsingContext('Windows build extracts errors from stdout', () async {
      final FakeVisualStudio fakeVisualStudio = FakeVisualStudio(cmakePath);
      final BuildWindowsCommand command = BuildWindowsCommand()
        ..visualStudioOverride = fakeVisualStudio;
      setUpMockProjectFilesForBuild();
  
      // This contains a mix of routine build output and various types of errors
      // (compile error, link error, warning treated as an error) from MSBuild,
  