anchor.diff:          });
   
           testWithoutContext('eulaSigned is false when clang is not installed', () {
  -          when(mockXcodeProjectInterpreter.xcrunCommand()).thenReturn(<String>['xcrun']);
             fakeProcessManager.addCommand(
               const FakeCommand(
                 command: <String>['xcrun', 'clang'],
  
positive.code:         );
          final Xcode xcode = Xcode.test(
            processManager: fakeProcessManager,
            xcodeProjectInterpreter: mockXcodeProjectInterpreter,
          );
  
          expect(xcode.isSimctlInstalled, isFalse);
  
negative.code:         });
  
          testWithoutContext('xcodeVersionSatisfactory is false when version is less than minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(9, 0, 0);
  
            expect(xcode.isRequiredVersionSatisfactory, isFalse);
          });
  
          testWithoutContext('xcodeVersionSatisfactory is false when xcodebuild tools are not installed', () {
            xcodeProjectInterpreter.isInstalled = false;
  
            expect(xcode.isRequiredVersionSatisfactory, isFalse);
          });
  
          testWithoutContext('xcodeVersionSatisfactory is true when version meets minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(12, 0, 1);
  
            expect(xcode.isRequiredVersionSatisfactory, isTrue);
          });
  
          testWithoutContext('xcodeVersionSatisfactory is true when major version exceeds minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(13, 0, 0);
  
            expect(xcode.isRequiredVersionSatisfactory, isTrue);
          });
  
          testWithoutContext('xcodeVersionSatisfactory is true when minor version exceeds minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(12, 3, 0);
  
            expect(xcode.isRequiredVersionSatisfactory, isTrue);
          });
  
          testWithoutContext('xcodeVersionSatisfactory is true when patch version exceeds minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(12, 0, 2);
  
            expect(xcode.isRequiredVersionSatisfactory, isTrue);
          });
  
          testWithoutContext('isRecommendedVersionSatisfactory is false when version is less than minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(11, 0, 0);
  
            expect(xcode.isRecommendedVersionSatisfactory, isFalse);
          });
  
          testWithoutContext('isRecommendedVersionSatisfactory is false when xcodebuild tools are not installed', () {
            xcodeProjectInterpreter.isInstalled = false;
  
            expect(xcode.isRecommendedVersionSatisfactory, isFalse);
          });
  
          testWithoutContext('isRecommendedVersionSatisfactory is true when version meets minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(12, 0, 1);
  
            expect(xcode.isRecommendedVersionSatisfactory, isTrue);
          });
  
          testWithoutContext('isRecommendedVersionSatisfactory is true when major version exceeds minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(13, 0, 0);
  
            expect(xcode.isRecommendedVersionSatisfactory, isTrue);
          });
  
          testWithoutContext('isRecommendedVersionSatisfactory is true when minor version exceeds minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(12, 3, 0);
  
            expect(xcode.isRecommendedVersionSatisfactory, isTrue);
          });
  
          testWithoutContext('isRecommendedVersionSatisfactory is true when patch version exceeds minimum', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(12, 0, 2);
  
            expect(xcode.isRecommendedVersionSatisfactory, isTrue);
          });
  
          testWithoutContext('isInstalledAndMeetsVersionCheck is false when not installed', () {
            xcodeProjectInterpreter.isInstalled = false;
  
            expect(xcode.isInstalledAndMeetsVersionCheck, isFalse);
            expect(fakeProcessManager.hasRemainingExpectations, isFalse);
          });
  
          testWithoutContext('isInstalledAndMeetsVersionCheck is false when version not satisfied', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(10, 2, 0);
  
            expect(xcode.isInstalledAndMeetsVersionCheck, isFalse);
            expect(fakeProcessManager.hasRemainingExpectations, isFalse);
          });
  
          testWithoutContext('isInstalledAndMeetsVersionCheck is true when macOS and installed and version is satisfied', () {
            xcodeProjectInterpreter.isInstalled = true;
            xcodeProjectInterpreter.version = Version(12, 0, 1);
  
            expect(xcode.isInstalledAndMeetsVersionCheck, isTrue);
            expect(fakeProcessManager.hasRemainingExpectations, isFalse);
  