{
try {
log.info( "Testing REQUEST_HEADERS:User-Agent \"@pm test alexa\"" );
String val = event.get( "REQUEST_HEADERS:User-Agent" );
log.info( " event.get('REQUEST_HEADERS:User-Agent') = " + val );
Condition c = new ConditionPM( "REQUEST_HEADERS:User-Agent", "test alexa" );
long start = System.nanoTime();
if( ! c.matches( event ) )
fail( "Failed to match ConditionPM on REQUEST_HEADERS:User-Agent with value 'test alexa' !" );
log.info( "PM-Match took " + (System.nanoTime() - start ) + " ns." );
} catch (Exception e) {
fail( "Error: " + e.getMessage() );
}