docs: @Override
      public void finishMocking(Throwable failure) {
          try {
              instanceSession.finishMocking(failure);
          } finally {
              for (Class<?> clazz : staticMocks) {
                  mockingInProgressClass.set(clazz);
                  try {
                      Mockito.reset(ExtendedMockito.staticMockMarker(clazz));
                  } finally {
                      mockingInProgressClass.remove();
                  }
                  classToMarker.remove(clazz);
              }
  
              ExtendedMockito.removeSession(this);
          }
      }