/*
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */
package org.xwiki.extension.test;

import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.api.extension.TestInstancePostProcessor;
import org.xwiki.test.mockito.MockitoComponentManager;

public class MockitoRepositoryUtilsExtension implements TestInstancePostProcessor
{
    public void postProcessTestInstance(Object testInstance, ExtensionContext context) throws Exception
    {
        new MockitoRepositoryUtils(loadComponentManager(context)).setup();
    }

    protected MockitoComponentManager loadComponentManager(ExtensionContext context)
    {
        ExtensionContext.Store store = getGlobalRootStore(context);
        Class<?> testClass = context.getRequiredTestClass();
        return store.get(testClass, MockitoComponentManager.class);
    }

    private static ExtensionContext.Store getGlobalRootStore(ExtensionContext context)
    {
        return context.getRoot().getStore(ExtensionContext.Namespace.GLOBAL);
    }
}

@@ -1185,16 +1185,30 @@
 essor%0A%7B%0A
+    @Override%0A
     publ

Add missing `@Override`