assertTrue(sampleBean.getKieSession() instanceof StatelessKieSession);
}
@Test
public void testStatefulKSessionInjection() throws Exception {
AnnotatedKieBean sampleBean = (AnnotatedKieBean) context.getBean("annotatedKieBean");
assertNotNull(sampleBean);
assertNotNull(sampleBean.getStatefulSession() );
assertTrue(sampleBean.getStatefulSession() instanceof KieSession);
}