anchor.diff:  const String kPath2 = '/another/bin/$kExecutable';
   
   void main() {
  -  MockProcessManager mockProcessManager;
     FakeProcessManager fakeProcessManager;
   
     setUp(() {
  -    mockProcessManager = MockProcessManager();
       fakeProcessManager = FakeProcessManager.list(<FakeCommand>[]);
     });
   
  
positive.code: import 'package:flutter_tools/src/base/os.dart';
  import 'package:flutter_tools/src/base/platform.dart';
  import 'package:flutter_tools/src/build_info.dart';
  import 'package:mockito/mockito.dart';
  import 'package:process/process.dart';
  
  import '../../src/common.dart';
  import '../../src/context.dart';
  
negative.code: 
    group('which on Windows', () {
      testWithoutContext('throws tool exit if where throws an argument error', () async {
        fakeProcessManager.addCommand(
          FakeCommand(
            command: const <String>[
              'where',
              kExecutable,
            ],
            exception: ArgumentError('Cannot find executable for where'),
          ),
        );
  
        final OperatingSystemUtils utils = OperatingSystemUtils(
          fileSystem: MemoryFileSystem.test(),
          logger: BufferLogger.test(),
          platform: FakePlatform(operatingSystem: 'windows'),
          processManager: fakeProcessManager,
        );
  
        expect(() => utils.which(kExecutable), throwsA(isA<ToolExit>()));
  