KiePMMLSessionUtils { StatelessKieSession getKieSession(final KieBase knowledgeBase) { StatelessKieSession toReturn; try { toReturn = knowledgeBase.newStatelessKieSession(); if (toReturn == null) { throw new KiePMMLException("Failed to create KieSession for model " + modelName); } return toReturn; } catch (Throwable t) { throw new KiePMMLException("Failed to create KieSession for model " + modelName, t); } } private  KiePMMLSessionUtils(final KieBase knowledgeBase, final String modelName, final String packageName, final PMML4Result pmml4Result); static Builder builder(final KieBase knowledgeBase, final String modelName, final String packageName, final PMML4Result pmml4Result); void fireAllRules();  }
@Test public void getKieSession() { StatelessKieSession retrieved = kiePMMLSessionUtils.getKieSession(KIE_BASE); assertNotNull(retrieved); }