}
public void testEntry(KProjectTestClass testClass, String jarName) {
List<String> list = new ArrayList<String>();
StatelessKieSession stlsKsession = testClass.getKBase1KSession1();
stlsKsession.setGlobal( "list", list );
stlsKsession.execute( "dummy" );
assertEquals( 2, list.size() );
assertTrue( list.contains( jarName + ".test1:rule1:1.0-SNAPSHOT" ) );
assertTrue( list.contains( jarName + ".test1:rule2:1.0-SNAPSHOT" ) );
list.clear();
KieSession stflKsession = testClass.getKBase1KSession2();
stflKsession.setGlobal( "list", list );
stflKsession.fireAllRules();
assertEquals( 2, list.size() );
assertTrue( list.contains( jarName + ".test1:rule1:1.0-SNAPSHOT" ) );
assertTrue( list.contains( jarName + ".test1:rule2:1.0-SNAPSHOT" ) );
list.clear();
stflKsession = testClass.getKBase2KSession3();
stflKsession.setGlobal( "list", list );
stflKsession.fireAllRules();
assertEquals( 2, list.size() );
assertTrue( list.contains( jarName + ".test2:rule1:1.0-SNAPSHOT" ) );
assertTrue( list.contains( jarName + ".test2:rule2:1.0-SNAPSHOT" ) );
list.clear();
stlsKsession = testClass.getKBase3KSession4();
stlsKsession.setGlobal( "list", list );
stlsKsession.execute( "dummy" );
assertEquals( 4, list.size() );
assertTrue( list.contains( jarName + ".test1:rule1:1.0-SNAPSHOT" ) );
assertTrue( list.contains( jarName + ".test1:rule2:1.0-SNAPSHOT" ) );
assertTrue( list.contains( jarName + ".test2:rule1:1.0-SNAPSHOT" ) );
assertTrue( list.contains( jarName + ".test2:rule2:1.0-SNAPSHOT" ) );