@Test
public void testExtractRuleSections_unknownParser() throws Exception {

	String fileContent = MonitoringRunnable.RULE_BEGINNING + " unknown event-id]\nok";
	MonitoringRunnable task = new MonitoringRunnable( this.agentInterface, HANDLERS );
	this.agentInterface.setScopedInstance( new Instance( "root" ));
	List<MonitoringHandlerRun> handlers = task.extractRuleSections( new File( "test" ), fileContent, null );
	Assert.assertEquals( 1, handlers.size());
	MonitoringHandlerRun bean = handlers.get( 0 );
	Assert.assertEquals( "unknown", bean.handlerName );
	Assert.assertEquals( "event-id", bean.eventId );
	Assert.assertEquals( "ok", bean.rawRulesText );
}