public void testConditionLT()
{
try {
log.info( "Testing SEVERITY @lt 4" );
log.info( " event SEVERITY: " + ValueExtractor.extractValues( AuditEvent.SEVERITY, event ) );
Condition c = new ConditionLT( "SEVERITY", "4" );
if( ! c.matches( event ) )
fail( "Failed to match ConditionLT on SEVERITY with value '4' !" );
} catch (Exception e) {
fail( "Error: " + e.getMessage() );
}
}