All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.mock.GXMockProvider Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

There is a newer version: 4.7.3
Show newest version
package com.genexus.mock;

import com.genexus.diagnostics.core.ILogger;
import com.genexus.diagnostics.core.LogManager;

public class GXMockProvider {
	private static final ILogger logger = LogManager.getLogger(GXMockProvider.class);
	private static IGXMock provider;

	public static IGXMock getProvier() {
		return provider;
	}

	public static void setProvider(IGXMock mockProvider) {
		provider = mockProvider;
		if (mockProvider != null)
			logger.debug("Mock provider: " + mockProvider.getClass().getName());
		else
			logger.debug("Mock provider set to null");
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy