public interface ErrorMessageFactory
Modifier and Type | Method and Description |
---|---|
String |
create()
Creates a new error message as a result of a failed assertion without description.
|
String |
create(Description d)
Creates a new error message as a result of a failed assertion with
StandardRepresentation . |
String |
create(Description d,
Representation p)
Creates a new error message as a result of a failed assertion.
|
String create(Description d, Representation p)
d
- the description of the failed assertion.p
- the representation usedString create(Description d)
StandardRepresentation
.d
- the description of the failed assertion.String create()
Copyright © 2014–2019 AssertJ. All rights reserved.