Not Operator

You can prefix your expectation with the not operator to easily cause negative expectations for any matcher. When you read the API Docs or the source, you will find nowhere the not methods. This is because we do this dynamically by convention.

expect( actual )
     .notToBe( 4 )
     .notToBeTrue();
     .notToBeFalse();

Last updated

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC