anchor.diff:      });
   
       test('with nested objects', () {
  -      var annotatedClass =
  -          _getAnnotationForClass(libElement, 'WithNestedObjects');
  -      var annotation = annotatedClass.metadata.single;
         var instance =
  -          instantiateAnnotation(annotation) as defs.PublicAnnotationClass;
  +          _getInstantiatedAnnotation(libElement, 'WithNestedObjects');
         expect(instance.child1, const defs.PublicAnnotationClass());
         expect(
             instance.child2, const defs.PublicAnnotationClass.withAnIntAsOne());
       });
   
       test('with built-in Symbol', () {
  -      var annotatedClass = _getAnnotationForClass(libElement, 'WithSymbol');
  -      var annotation = annotatedClass.metadata.single;
  -      var instance = instantiateAnnotation(annotation);
  +      var instance = _getInstantiatedAnnotation(libElement, 'WithSymbol');
         expect(instance, defs.objectAnnotation);
       });
   
       test('with a field using non-default ctor', () {
  -      var annotatedClass =
  -          _getAnnotationForClass(libElement, 'WithAFieldFromNonDefaultCtor');
  -      var annotation = annotatedClass.metadata.single;
  -      var instance =
  -          instantiateAnnotation(annotation) as defs.PublicAnnotationClass;
  +      var instance = _getInstantiatedAnnotation(
  +          libElement, 'WithAFieldFromNonDefaultCtor');
         expect(instance.anInt, defs.untypedAnnotationWithNonDefaultCtor.anInt);
         expect(
             instance.aString, defs.untypedAnnotationWithNonDefaultCtor.aString);
  
positive.code:     });
  
      test('using a non-default ctor with potional and named args', () {
        var annotatedClass = _getAnnotationForClass(
            libElement, 'NonDefaultCtorWithPositionalAndNamedParams');
        var annotation = annotatedClass.metadata.single;
        var instance =
            instantiateAnnotation(annotation) as defs.PublicAnnotationClass;
        expect(instance.anInt, 43);
        expect(instance.aString, 'another value');
        expect(instance.aBool, isTrue);
  
negative.code:   group('matchAnnotation', () {
      group('with field annotations', () {
        test('annotated with typed field', () {
          var annotation = _getClassAnnotation(libElement, 'WithTypedField');
          var matched = matchAnnotation(defs.PublicAnnotationClass, annotation);
          expect(matched, isTrue);
        });
  
        test('annotated with untyped field', () {
          var annotation = _getClassAnnotation(libElement, 'WithUntypedField');
          var matched = matchAnnotation(defs.PublicAnnotationClass, annotation);
          expect(matched, isTrue);
        });
  
        test('annotated with local typed field', () {
          var annotation = _getClassAnnotation(libElement, 'WithLocalTypedField');
          var matched = matchAnnotation(defs.PublicAnnotationClass, annotation);
          expect(matched, isTrue);
        });
  
        test('annotated with local untyped field', () {
          var annotation =
              _getClassAnnotation(libElement, 'WithLocalUntypedField');
          var matched = matchAnnotation(defs.PublicAnnotationClass, annotation);
          expect(matched, isTrue);
        });
  