anchor.diff:    });
   
     testUsingContext('Performs code size analysis and sends analytics', () async {
  -    final BuildWindowsCommand command = BuildWindowsCommand()
  -      ..visualStudioOverride = mockVisualStudio;
  -    setUpMockProjectFilesForBuild();
  -    when(mockVisualStudio.cmakePath).thenReturn(cmakePath);
  +    final FakeVisualStudio fakeVisualStudio = FakeVisualStudio(cmakePath);
  +    final BuildWindowsCommand command = BuildWindowsCommand()
  +      ..visualStudioOverride = fakeVisualStudio;
  +    setUpMockProjectFilesForBuild();
   
       fileSystem.file(r'build\windows\runner\Release\app.so')
         ..createSync(recursive: true)
  
positive.code: 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:process/process.dart';
  
  import '../../src/common.dart';
  
negative.code:   });
  
    testUsingContext('Windows build does not spew stdout to status logger', () async {
      final FakeVisualStudio fakeVisualStudio = FakeVisualStudio(cmakePath);
      final BuildWindowsCommand command = BuildWindowsCommand()
        ..visualStudioOverride = fakeVisualStudio;
      setUpMockProjectFilesForBuild();
  
      processManager = FakeProcessManager.list(<FakeCommand>[
        cmakeGenerationCommand(),
  