Search in sources :

Example 1 with OpenshiftEnvironmentDriverModuleConfig

use of org.jboss.pnc.common.json.moduleconfig.OpenshiftEnvironmentDriverModuleConfig in project pnc by project-ncl.

the class ConfigurationTest method isEnvDriverEnabled.

@Test
public void isEnvDriverEnabled() throws CoreException, ConfigurationParseException {
    OpenshiftEnvironmentDriverModuleConfig openShiftConfig = configuration.getModuleConfig(new PncConfigProvider<>(OpenshiftEnvironmentDriverModuleConfig.class));
    Assert.assertFalse("Environment driver disabled.", openShiftConfig.isDisabled());
}
Also used : OpenshiftEnvironmentDriverModuleConfig(org.jboss.pnc.common.json.moduleconfig.OpenshiftEnvironmentDriverModuleConfig) Test(org.junit.Test)

Aggregations

OpenshiftEnvironmentDriverModuleConfig (org.jboss.pnc.common.json.moduleconfig.OpenshiftEnvironmentDriverModuleConfig)1 Test (org.junit.Test)1