Throwable have a cause instance of
a certain type.
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ErrorMessageFactory | Returns: the createdErrorMessageFactory.the actual value in the failed assertion. actual, Class<? extends Throwable> the expected cause type. expectedCauseType)Creates a new |
| ShouldHaveCauseInstance | back to summary |
|---|---|
| private ShouldHaveCauseInstance(Throwable actual, Class<? extends Throwable> expectedCauseType) | |
| ShouldHaveCauseInstance | back to summary |
|---|---|
| private ShouldHaveCauseInstance(Class<? extends Throwable> expectedCauseType, Throwable actual) | |
| shouldHaveCauseInstance | back to summary |
|---|---|
| public static ErrorMessageFactory shouldHaveCauseInstance(Throwable actual, Class<? extends Throwable> expectedCauseType) Creates a new
| |