anchor.diff:    }, overrides: <Type, Generator>{
       FlutterVersion: () => FlutterVersion(clock: _testClock),
       ProcessManager: () => processManager,
  -    Cache: () => mockCache,
  +    Cache: () => cache,
     });
   
     testUsingContext('GitTagVersion', () {
  
positive.code:           "lastTimeWarningWasPrinted": "${_testClock.now()}"
          }
          ''';
            when(mockCache.getStampFor(VersionCheckStamp.flutterVersionCheckStampFile))
              .thenReturn(value);
  
            final VersionCheckStamp stamp = await VersionCheckStamp.load(mockCache, BufferLogger.test());
  
            expect(stamp.lastKnownRemoteVersion, _testClock.ago(const Duration(days: 1)));
            expect(stamp.lastTimeVersionWasChecked, _testClock.ago(const Duration(days: 2)));
  
negative.code:         final FakeFlutterVersion flutterVersion = FakeFlutterVersion(channel);
          final BufferLogger logger = BufferLogger.test();
          final VersionCheckStamp stamp = VersionCheckStamp(
            lastTimeVersionWasChecked: _stampOutOfDate,
            lastKnownRemoteVersion: _testClock.ago(const Duration(days: 2)),
          );
          cache.versionStamp = json.encode(stamp);
  
          await checkVersionFreshness(
            flutterVersion,
            cache: cache,
            clock: _testClock,
            logger: logger,
            localFrameworkCommitDate: getChannelOutOfDateVersion(),
  