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