anchor.diff:      });
   
       group('createPluginSymlinks', () {
  -      MockFeatureFlags featureFlags;
  +      FeatureFlags featureFlags;
   
         setUp(() {
  -        featureFlags = MockFeatureFlags();
  -        when(featureFlags.isLinuxEnabled).thenReturn(true);
  -        when(featureFlags.isWindowsEnabled).thenReturn(true);
  +        featureFlags = TestFeatureFlags(isLinuxEnabled: true, isWindowsEnabled: true);
         });
   
         testUsingContext('Symlinks are created for Linux plugins', () async {
  
positive.code: }
  
  class MockAndroidProject extends Mock implements AndroidProject {}
  class MockFeatureFlags extends Mock implements FeatureFlags {}
  class MockFlutterProject extends Mock implements FlutterProject {}
  class MockIosProject extends Mock implements IosProject {}
  class MockMacOSProject extends Mock implements MacOSProject {}
  
negative.code: import '../src/common.dart';
  import '../src/context.dart';
  import '../src/pubspec_schema.dart';
  import '../src/testbed.dart';
  
  void main() {
    group('plugins', () {
  