anchor.diff:          () => device.takeScreenshot(globals.fs.file('file.invalid')),
           throwsA(equals('file.invalid must be a .ppm file')),
         );
  -    }, testOn: 'posix');
  +    });
   
       testUsingContext('takeScreenshot throws if screencap failed', () async {
         final FuchsiaDevice device = FuchsiaDevice('0.0.0.0', name: 'tester');
   
  -      when(mockProcessManager.run(
  +      when(globals.processManager.run(
           const <String>[
             'ssh',
             '-F',
  
positive.code:         contains('Failed to delete screenshot.ppm from the device:\n<error-message>'),
        );
      }, overrides: <Type, Generator>{
        ProcessManager: () => mockProcessManager,
        Platform: () => FakePlatform(
          environment: <String, String>{
            'FUCHSIA_SSH_CONFIG': '/fuchsia/out/default/.ssh',
  
negative.code:         environment: anyNamed('environment'),
        )).thenAnswer((_) async => ProcessResult(0, 0, '', ''));
  
        when(globals.processManager.run(
          const <String>[
            'scp',
            '-F',
  