public class ShouldHaveSuppressedException extends BasicErrorMessageFactory
Throwable
has a given suppressed exception failed.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldHaveSuppressedException(Throwable actual,
Throwable expectedSuppressedException)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldHaveSuppressedException(Throwable actual, Throwable expectedSuppressedException)
ShouldHaveSuppressedException
.actual
- the throwable to check suppressed exceptions.expectedSuppressedException
- the expected suppressed exception.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.