File testTmpDir = new File("target/test-tmp/");
testTmpDir.mkdirs();
KnowledgeRuntimeLogger logger = KnowledgeRuntimeLoggerFactory.newFileLogger( ksession,
"target/test-tmp/testHelloWorldDebug" );
// go !
Message message = new Message();
message.setMessage("Hello World");
message.setStatus(Message.HELLO);
ksession.insert(message);
ksession.fireAllRules();
logger.close();
assertEquals( 6, knownVariables.size() );
assertTrue(knownVariables.contains("drools"));