Custom Matchers
boolean function MyMatcher( required expectation, args={} )boolean function reallyFalse( expectation, args={} ){
expectation.message = ( structKeyExists( args, "message" ) ? args.message : "[#expectation.actual#] is not really false" );
if( expectation.isNot )
return ( expectation.actual eq true );
else
return ( expectation.actual eq false );
}
}Matcher Registration
Inline matchers
CFC Matchers
Last updated
Was this helpful?