class OpenShiftMockServer extends KubernetesMockServer {
  private boolean disableApiGroupCheck = true;

  public OpenShiftMockServer() {
    super();
  }

  public OpenShiftMockServer(boolean useHttps) {
    super(useHttps);
  }

  public OpenShiftMockServer(Context context, MockWebServer server, Map<ServerRequest, Queue<ServerResponse>> responses,
      Dispatcher dispatcher, boolean useHttps) {
    super(context, server, responses, dispatcher, useHttps);
  }

  @Override
  public String[] getRootPaths() {
    return new String[] { "/api", "/oapi" };
  }

  @SuppressWarnings("java:S2095")
  public NamespacedOpenShiftClient createOpenShiftClient() {<FILL_FUNCTION_BODY>}

  public boolean isDisableApiGroupCheck() {
    return disableApiGroupCheck;
  }

  public void setDisableApiGroupCheck(boolean disableApiGroupCheck) {
    this.disableApiGroupCheck = disableApiGroupCheck;
  }
}

    final NamespacedOpenShiftClient client = createClient().adapt(NamespacedOpenShiftClient.class);
    ((OpenShiftConfig) client.getConfiguration()).setDisableApiGroupCheck(disableApiGroupCheck);
    return client;
  
<methods>public void <init>() ,public void <init>(boolean) ,public void <init>(MockWebServer, Map<io.fabric8.mockwebserver.ServerRequest,Queue<io.fabric8.mockwebserver.ServerResponse>>, boolean) ,public void <init>(io.fabric8.mockwebserver.Context, MockWebServer, Map<io.fabric8.mockwebserver.ServerRequest,Queue<io.fabric8.mockwebserver.ServerResponse>>, boolean) ,public void <init>(io.fabric8.mockwebserver.Context, MockWebServer, Map<io.fabric8.mockwebserver.ServerRequest,Queue<io.fabric8.mockwebserver.ServerResponse>>, Dispatcher, boolean) ,public void <init>(io.fabric8.mockwebserver.Context, MockWebServer, Map<io.fabric8.mockwebserver.ServerRequest,Queue<io.fabric8.mockwebserver.ServerResponse>>, Dispatcher, boolean, io.fabric8.kubernetes.client.VersionInfo) ,public void clearExpectations() ,public io.fabric8.kubernetes.client.NamespacedKubernetesClient createClient() ,public io.fabric8.kubernetes.client.NamespacedKubernetesClient createClient(io.fabric8.kubernetes.client.http.HttpClient.Factory) ,public io.fabric8.kubernetes.client.NamespacedKubernetesClient createClient(Consumer<io.fabric8.kubernetes.client.KubernetesClientBuilder>) ,public io.fabric8.servicecatalog.client.NamespacedServiceCatalogClient createServiceCatalog() ,public void destroy() ,public void expectCustomResource(io.fabric8.kubernetes.client.dsl.base.CustomResourceDefinitionContext) ,public java.lang.String[] getRootPaths() ,public void init() ,public void init(java.net.InetAddress, int) ,public void onStart() ,public void reset() ,public transient void setUnsupported(java.lang.String[]) ,public final void setVersionInfo(io.fabric8.kubernetes.client.VersionInfo) <variables>private final non-sealed Dispatcher dispatcher,private final non-sealed Map<io.fabric8.mockwebserver.ServerRequest,Queue<io.fabric8.mockwebserver.ServerResponse>> responses,private List<java.util.regex.Pattern> unsupportedPatterns,private io.fabric8.kubernetes.client.VersionInfo versionInfo