KnowledgeBase bean = (KnowledgeBase) context.getBean("kbase1");
assertNotNull(bean);
KnowledgeServiceConfiguration kserviceConf1 = (KnowledgeServiceConfiguration)context.getBean( "service-conf-1" );
assertNotNull(kserviceConf1);
assertEquals("XSTREAM", kserviceConf1.getMarshaller());
KnowledgeService kservice = (KnowledgeService)context.getBean( "service" );
assertNotNull(kservice);
}