anchor.diff:      while (allOverriddenMethods.isNotEmpty) {
         final overriddenMethod = allOverriddenMethods.removeFirst();
         final secondaryOverrides = inheritanceManager.getOverridden2(
  -          overriddenMethod.enclosingElement3 as ClassElement, name);
  +          overriddenMethod.enclosingElement3 as InterfaceElement, name);
         if (secondaryOverrides != null) {
           allOverriddenMethods.addAll(secondaryOverrides);
         }
  
positive.code: 
    Class _buildMockClass() {
      final typeToMock = mockTarget.classType;
      final classToMock = mockTarget.classElement;
      final classIsImmutable = classToMock.metadata.any((it) => it.isImmutable);
      final className = classToMock.name;
  
  
negative.code:       return type;
      }
      final method = parameter.enclosingElement3 as MethodElement;
      final class_ = method.enclosingElement3 as InterfaceElement;
      final name = Name(method.librarySource.uri, method.name);
      final overriddenMethods = inheritanceManager.getOverridden2(class_, name);
      if (overriddenMethods == null) {
  