anchor.diff:  
       test('param exported in library', () {
         var param = paramFromExportLib.parameters[0];
  +      expect(param.name, equals('helper'));
         expect(param.library.name, equals('ex'));
       });
     });
  
positive.code:     });
  
      test('methods has the right annotation', () {
        expect(dog.instanceMethods.first.annotations.first, equals('deprecated'));
      });
    });
  }
  
negative.code:   });
  
    group('Parameter', () {
      Class c, fClass;
      Method isGreaterThan, asyncM, methodWithGenericParam, paramFromExportLib;
      Parameter intNumber, intCheckOptional;
  
      setUp(() {
        c = exLibrary.classes.firstWhere((c) => c.name == 'Apple');
        paramFromExportLib =
            c.instanceMethods.singleWhere((m) => m.name == 'paramFromExportLib');
        isGreaterThan =
            c.instanceMethods.singleWhere((m) => m.name == 'isGreaterThan');
        asyncM = exLibrary.classes
                .firstWhere((c) => c.name == 'Dog').instanceMethods
            .firstWhere((m) => m.name == 'foo');
        intNumber = isGreaterThan.parameters.first;
        intCheckOptional = isGreaterThan.parameters.last;
        fClass = exLibrary.classes.firstWhere((c) => c.name == 'F');
        methodWithGenericParam = fClass.instanceMethods
            .singleWhere((m) => m.name == 'methodWithGenericParam');
      });
  
      test('has parameters', () {
        expect(isGreaterThan.parameters, hasLength(2));
      });
  
      test('is optional', () {
        expect(intCheckOptional.isOptional, isTrue);
        expect(intNumber.isOptional, isFalse);
      });
  
      test('default value', () {
        expect(intCheckOptional.defaultValue, '5');
      });
  
      test('is named', () {
        expect(intCheckOptional.isOptionalNamed, isTrue);
      });
  
      test('linkedName', () {
        expect(intCheckOptional.modelType.linkedName, 'int');
      });
  
      test('async return type', () {
  