@Test
public void testLoadRules_noAutonomicDir() throws Exception {

	// Create an application
	TestApplication app = new TestApplication();
	app.setDirectory( this.folder.newFolder());
	// Load the rules
	Assert.assertEquals( 0, this.autonomicMngr.appNameToContext.size());
	this.autonomicMngr.loadApplicationRules( app );
	Assert.assertEquals( 1, this.autonomicMngr.appNameToContext.size());
	AutonomicApplicationContext ctx = this.autonomicMngr.appNameToContext.get( app.getName());
	Assert.assertNotNull( ctx );
	Assert.assertEquals( 0, ctx.ruleNameToRule.size());
}