Indicates that the expectation is not intended to happen.
- Xcode 8.3+
To check that a situation does not occur during testing, create an expectation that is fulfilled when the unexpected situation occurs, and set its
is property to true. Your test will fail immediately if the inverted expectation is fulfilled.