anchor.diff:    });
   
     group('doctor with fake validators', () {
  +    MockArtifacts mockArtifacts;
  +    const String genSnapshotPath = '/path/to/gen_snapshot';
  +    FileSystem memoryFileSystem;
  +
  +    setUp(() {
  +      memoryFileSystem = MemoryFileSystem.test();
  +      mockArtifacts = MockArtifacts();
  +      when(mockArtifacts.getArtifactPath(Artifact.genSnapshot)).thenReturn(genSnapshotPath);
  +    });
  +
       testUsingContext('validate non-verbose output format for run without issues', () async {
         expect(await FakeQuietDoctor().diagnose(verbose: false), isTrue);
         expect(testLogger.statusText, equals(
  
positive.code:       contains(isA<WebWorkflow>()));
    }, overrides: <Type, Generator>{
      FeatureFlags: () => TestFeatureFlags(isWebEnabled: true),
      ProcessManager: () => MockProcessManager(),
    });
  
  
negative.code:           '! Doctor found issues in 1 category.\n'
        ));
      }, overrides: <Type, Generator>{
        Artifacts: () => mockArtifacts,
        FileSystem: () => memoryFileSystem,
        OutputPreferences: () => OutputPreferences(wrapText: false),
        ProcessManager: () => mockProcessManager,
        Platform: _kNoColorOutputPlatform,
  