@Test
public void testRemoveIdentitiesSubNetwork() throws Exception {
KieBaseConfiguration conf = KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
conf.setOption(RemoveIdentitiesOption.YES);
KieBase kbase = loadKnowledgeBase(conf, "test_removeIdentitiesSubNetwork.drl");
StatefulKnowledgeSession workingMemory = createKnowledgeSession((KnowledgeBase) kbase);
final List list = new ArrayList();
workingMemory.setGlobal( "results",
list );