assertEquals( 2, pkgs.size() );
KnowledgePackage test1 = getKnowledgePackage(pkgs, "org.test1" );
Collection<Process> processes = test1.getProcesses();
assertEquals( 1, processes.size() );
Process process = getProcess( processes, "flow1" );
assertEquals("flow1", process.getName() );
KnowledgePackage test2 = getKnowledgePackage(pkgs, "org.test2" );
processes = test2.getProcesses();
assertEquals( 1, processes.size() );
process = getProcess( processes, "flow2" );
assertEquals("flow2", process.getName() );
}