| Class | Description |
|---|---|
| ExpectedExceptionExtension |
The expected exception extension allows the developer to express the expectations of an exception
to be thrown by the code-under-test.
|
| Annotation Type | Description |
|---|---|
| ExpectedException |
Describes the expectations for an exception, including:
The exception class
Case sensitive matchers on the exception message in the form of:
Message matches exactly
Message starts with
Message contains
|
Copyright © 2017. All rights reserved.