package org.togglz.spring.test.proxy; import org.springframework.stereotype.Component; import org.togglz.core.Feature; import org.togglz.core.manager.TogglzConfig; import org.togglz.core.repository.StateRepository; import org.togglz.core.repository.mem.InMemoryStateRepository; import org.togglz.core.user.NoOpUserProvider; import org.togglz.core.user.UserProvider; @Component public class FeatureProxyConfiguration implements TogglzConfig { @Override public Class<? extends Feature> getFeatureClass() { return ProxyFeatures.class; } @Override public StateRepository getStateRepository() { return new InMemoryStateRepository(); } @Override public UserProvider getUserProvider() { return new NoOpUserProvider(); } }