package eu.teraflow.automation;

import io.smallrye.config.SmallRyeConfig;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.ws.rs.Produces;
import org.eclipse.microprofile.config.Config;

public class MockAutomationConfiguration {
    @Inject Config config;

    @Produces
    @ApplicationScoped
    @io.quarkus.test.Mock
    AutomationConfiguration automationConfiguration() {
        return config.unwrap(SmallRyeConfig.class).getConfigMapping(AutomationConfiguration.class);
    }
}
