anchor.diff:      expect(hover.parameter, isNull);
     }
   
  -  Future<void> test_constructor_noKeyword_new() async {
  +  Future<void> test_class_constructor_noKeyword_new() async {
       addTestFile('''
   library my.library;
   class A {}
  
positive.code:     expect(hover.parameter, isNull);
    }
  
    Future<void> test_constructor_synthetic_withTypeArgument() async {
      addTestFile('''
  library my.library;
  class A<T> {}
  
negative.code:     expect(hover.elementDescription, 'enum MyEnum');
      expect(hover.staticType, isNull);
      expect(hover.propagatedType, isNull);
    }
  
    Future<void> test_enum_getter() async {
      addTestFile('''
  library my.library;
  enum E {
    v;
    /// doc aaa
    /// doc bbb
    int get foo => 0;
  }
  void f(E e) {
    print(e.foo);
  }
  ''');
      var hover = await prepareHover('foo);');
      // element
      expect(hover.containingLibraryName, 'bin/test.dart');
      expect(hover.containingLibraryPath, testFile);
      expect(hover.containingClassDescription, 'E');
      expect(hover.dartdoc, '''doc aaa\ndoc bbb''');
      expect(hover.elementDescription, 'int get foo');
      expect(hover.elementKind, 'getter');
    }
  
    Future<void> test_enum_getter_synthetic() async {
      addTestFile('''
  library my.library;
  enum E {
    v;
    /// doc aaa
    /// doc bbb
    final String fff;
  }
  void f(E e) {
    print(e.fff);
  }
  ''');
      var hover = await prepareHover('fff);');
      // element
      expect(hover.containingLibraryName, 'bin/test.dart');
      expect(hover.containingLibraryPath, testFile);
      expect(hover.containingClassDescription, 'E');
      expect(hover.dartdoc, '''doc aaa\ndoc bbb''');
      expect(hover.elementDescription, 'String fff');
      expect(hover.elementKind, 'field');
      // types
      expect(hover.staticType, 'String');
      expect(hover.propagatedType, isNull);
    }
  
    Future<void> test_enum_method_declaration() async {
      addTestFile('''
  library my.library;
  enum E {
    v;
    /// doc aaa
    /// doc bbb
    List<String> mmm(int a, String b) {
    }
  }
  ''');
      var hover = await prepareHover('mmm(int a');
      // element
      expect(hover.containingLibraryName, 'bin/test.dart');
      expect(hover.containingLibraryPath, testFile);
      expect(hover.containingClassDescription, 'E');
      expect(hover.dartdoc, '''doc aaa\ndoc bbb''');
      expect(hover.elementDescription, 'List<String> mmm(int a, String b)');
      expect(hover.elementKind, 'method');
      // types
      expect(hover.staticType, isNull);
      expect(hover.propagatedType, isNull);
      // no parameter
      expect(hover.parameter, isNull);
    }
  
    Future<void> test_enum_method_reference() async {
      addTestFile('''
  library my.library;
  enum E {
    v;
    List<String> mmm(int a, String b) {
    }
  }
  void f(E e) {
    e.mmm(42, 'foo');
  }
  ''');
      var hover = await prepareHover('mm(42, ');
      // range
      expect(hover.offset, findOffset('mmm(42, '));
      expect(hover.length, 'mmm'.length);
      // element
      expect(hover.containingLibraryName, 'bin/test.dart');
      expect(hover.containingLibraryPath, testFile);
      expect(hover.containingClassDescription, 'E');
      expect(hover.elementDescription, 'List<String> mmm(int a, String b)');
      expect(hover.elementKind, 'method');
      expect(hover.isDeprecated, isFalse);
      // types
      expect(hover.staticType, 'List<String> Function(int, String)');
      expect(hover.propagatedType, isNull);
      // no parameter
      expect(hover.parameter, isNull);
    }
  
    Future<void> test_enum_setter_hasDocumentation() async {
      addTestFile('''
  enum E {
    v;
    /// getting
    int get foo => 42;
    /// setting
    set foo(int x) {}
  }
  void f(E e) {
    e.foo = 123;
  }
  ''');
      var hover = await prepareHover('foo = ');
      expect(hover.containingClassDescription, 'E');
      expect(hover.dartdoc, '''setting''');
      expect(hover.elementDescription, 'void set foo(int x)');
      expect(hover.elementKind, 'setter');
    }
  
    Future<void> test_extensionDeclaration() async {
  