ksession = marsallStatefulKnowledgeSession(ksession);
assertEquals( 3, ((List)list.get( 0 )).size() );
}
private StatefulKnowledgeSession marsallStatefulKnowledgeSession(StatefulKnowledgeSession ksession) throws IOException, ClassNotFoundException {
Globals globals = ksession.getGlobals();
KnowledgeBase kbase = ksession.getKnowledgeBase();
ByteArrayOutputStream out = new ByteArrayOutputStream();
MarshallerFactory.newMarshaller( kbase ).marshall( out,