public class ShouldHaveNoCause extends BasicErrorMessageFactory
Throwable
has no cause failed.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldHaveNoCause(Throwable actual)
Creates a new
ShouldHaveNoCause . |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldHaveNoCause(Throwable actual)
ShouldHaveNoCause
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.Copyright © 2013–2016 AssertJ. All rights reserved.