NotApplicableAssertion is a messaging assertion that can be used when an assertion requested by a test-case is not applicable to the testing scenario. For example an assertion may relate to AMQP functionality, but a test case may be being run over a non-AMQP JMS implementation, in which case the request to create the assertion may return this instead of the proper assertion. The test framework is configurable to quietly drop these assertions, log them as warnings to the console, or raise them as test failures.
CRC Card Responsibilities | Collaborations |
---|
Quitely pass. |
Log a warning. |
Raise a test failure. |