### Question:
KieContainerUtils { public static KieContainer getKieContainer(EnvConfig envConfig, KieServices srv) { KieContainer kieContainer; if (srv != null) { if (envConfig.isUpdatableKJar()) { kieContainer = srv.newKieContainer(GAVUtils.getReleaseID(envConfig.getKJarGAV(), srv)); KieScanner scanner = srv.newKieScanner(kieContainer); scanner.scanNow(); if (logger.isInfoEnabled()) { logger.info("Created new KieContainer with KJar:{} from maven repo", envConfig.getKJarGAV()); } } else { if (logger.isInfoEnabled()) { logger.info("Creating new Kie Session with the KJar deployed with the app"); } kieContainer = srv.newKieClasspathContainer(); } return kieContainer; } else { throw new IllegalStateException("KieServices is null"); } } private  KieContainerUtils(); static KieContainer getKieContainer(EnvConfig envConfig, KieServices srv);  }### Answer:
@Test public void getKieContainerTest() { EnvConfig config = EnvConfig.getDefaultEnvConfig(); KieServices srv = KieServices.get(); KieContainer container = KieContainerUtils.getKieContainer(config, srv); assertNotNull(container); }