Package | Description |
---|---|
org.assertj.core.error | |
org.assertj.core.internal |
Modifier and Type | Class | Description |
---|---|---|
class |
ShouldBeEqual |
Creates an
indicating that an assertion that verifies that two objects are equal
failed. |
Modifier and Type | Method | 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 | 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. All rights reserved.