anchor.diff:    }
   
     Future<void> test_enum_constant() async {
  -    addTestFile('''
  +    var testCode = TestCode.parse(r'''
   enum MyEnum {AAA, BBB}
   
   void f() {
  
positive.code:   MyEnum.BBB;
  }
  ''');
      await prepareHighlights();
      assertHasRegion(HighlightRegionType.ENUM_CONSTANT, 'AAA, ');
      assertHasRegion(HighlightRegionType.ENUM_CONSTANT, 'BBB}');
      assertHasRegion(HighlightRegionType.ENUM_CONSTANT, 'AAA;');
      assertHasRegion(HighlightRegionType.ENUM_CONSTANT, 'BBB;');
    }
  
    Future<void> test_enum_constructor() async {
      addTestFile('''
  const a = 0;
  
  enum E<T> {
    v<int>.named(a); // 1
    E.named(T a); // 2
  }
  ''');
      await prepareHighlights();
      assertHasRegion(HighlightRegionType.ENUM_CONSTANT, 'v<');
      assertHasRegion(HighlightRegionType.CLASS, 'int>');
      assertHasRegion(HighlightRegionType.CONSTRUCTOR, 'named(a)');
      assertHasRegion(HighlightRegionType.TOP_LEVEL_GETTER_REFERENCE, 'a); // 1');
      assertHasRegion(HighlightRegionType.ENUM, 'E.named');
      assertHasRegion(HighlightRegionType.CONSTRUCTOR, 'named(T');
      assertHasRegion(HighlightRegionType.TYPE_PARAMETER, 'T a');
      assertHasRegion(HighlightRegionType.PARAMETER_DECLARATION, 'a); // 2');
    }
  
    Future<void> test_enum_field_instance() async {
  
negative.code: import 'package:analysis_server/protocol/protocol.dart';
  import 'package:analysis_server/protocol/protocol_constants.dart';
  import 'package:analysis_server/protocol/protocol_generated.dart';
  import 'package:analyzer/source/source_range.dart';
  import 'package:analyzer/src/test_utilities/test_code_format.dart';
  import 'package:analyzer_plugin/protocol/protocol_common.dart';
  import 'package:collection/collection.dart';
  import 'package:test/test.dart';
  import 'package:test_reflective_loader/test_reflective_loader.dart';
  
  