Package | Description |
---|---|
org.assertj.core.error | |
org.assertj.core.internal |
Modifier and Type | Class and Description |
---|---|
class |
ShouldBeEqual
Creates an
indicating that an assertion that verifies that two objects are equal
failed. |
Modifier and Type | Method and Description |
---|---|
static AssertionErrorFactory |
ShouldBeEqual.shouldBeEqual(Object actual,
Object expected,
ComparisonStrategy comparisonStrategy,
Representation representation)
Creates a new
. |
static AssertionErrorFactory |
ShouldBeEqual.shouldBeEqual(Object actual,
Object expected,
Representation representation)
Creates a new
. |
Modifier and Type | Method and Description |
---|---|
AssertionError |
Failures.failure(AssertionInfo info,
AssertionErrorFactory factory)
Creates a
following this pattern:
creates a using
as the error message if such value is not null , or
uses the given to create an ,
prepending the value of to the error message
|
Copyright © 2014–2019 AssertJ. All rights reserved.