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

de.otto.edison.testsupport.togglz.fallback.FallbackTestFeatureManagerProvider Maven / Gradle / Ivy

There is a newer version: 3.3.3
Show newest version
package de.otto.edison.testsupport.togglz.fallback;


import org.togglz.core.manager.FeatureManager;
import org.togglz.core.spi.FeatureManagerProvider;

/**
 * This {@link FeatureManagerProvider} is a fallback for unit tests. It will return a {@link FallbackTestFeatureManager} which
 * will simply enable all features.
 *
 */
public class FallbackTestFeatureManagerProvider implements FeatureManagerProvider {

    @Override
    public int priority() {
        return 20;
    }

    @Override
    public FeatureManager getFeatureManager() {
        return new FallbackTestFeatureManager();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy