anchor.diff:        });
   
         testUsingContext('Generated Linux plugin files sorts by plugin name', () async {
  -        when(flutterProject.isModule).thenReturn(false);
           createFakePlugins(fs, <String>[
             'plugin_d',
             'plugin_a',
  
positive.code:       });
  
        testUsingContext('Module using new plugin shows no warnings', () async {
          when(flutterProject.isModule).thenReturn(true);
          when(androidProject.getEmbeddingVersion()).thenReturn(AndroidEmbeddingVersion.v2);
  
          createNewJavaPlugin1();
  
  
negative.code:       });
  
        testUsingContext('Symlinks are created for Windows plugins', () async {
          windowsProject.exists = true;
          createFakePlugin(fs);
          // refreshPluginsList should call createPluginSymlinks.
          await refreshPluginsList(flutterProject);
  