Throwable have a root 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 |
| ShouldHaveRootCauseInstance | back to summary |
|---|---|
| private ShouldHaveRootCauseInstance(Throwable actual, Class<? extends Throwable> expectedCauseType) | |
| ShouldHaveRootCauseInstance | back to summary |
|---|---|
| private ShouldHaveRootCauseInstance(Class<? extends Throwable> expectedCauseType, Throwable actual) | |
| shouldHaveRootCauseInstance | back to summary |
|---|---|
| public static ErrorMessageFactory shouldHaveRootCauseInstance(Throwable actual, Class<? extends Throwable> expectedCauseType) Creates a new
| |