Package org.assertj.db.error
Class ShouldBeEqual
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.db.error.ShouldBeEqual
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ShouldBeEqual
extends org.assertj.core.error.BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value is equal to another value.
- Author:
- Régis Pouiller
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.assertj.core.error.ErrorMessageFactory
Creates a new
.ShouldBeEqual
static org.assertj.core.error.ErrorMessageFactory
shouldBeEqual
(int index) Creates a new
.ShouldBeEqual
static org.assertj.core.error.ErrorMessageFactory
shouldBeEqual
(int index, Object actual, Object expected) Creates a new
.ShouldBeEqual
static org.assertj.core.error.ErrorMessageFactory
shouldBeEqual
(Object actual, Object expected) Creates a new
.ShouldBeEqual
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeEqual
public static org.assertj.core.error.ErrorMessageFactory shouldBeEqual(Object actual, Object expected) Creates a new
.ShouldBeEqual
- Parameters:
actual
- The actual value in the failed assertion.expected
- The expected value to compare to.- Returns:
- the created
ErrorMessageFactory
.
-
shouldBeEqual
public static org.assertj.core.error.ErrorMessageFactory shouldBeEqual()Creates a new
.ShouldBeEqual
- Returns:
- the created
ErrorMessageFactory
.
-
shouldBeEqual
public static org.assertj.core.error.ErrorMessageFactory shouldBeEqual(int index, Object actual, Object expected) Creates a new
.ShouldBeEqual
- Parameters:
index
- The index of the value.actual
- The actual value in the failed assertion.expected
- The expected value to compare to.- Returns:
- the created
ErrorMessageFactory
.
-
shouldBeEqual
public static org.assertj.core.error.ErrorMessageFactory shouldBeEqual(int index) Creates a new
.ShouldBeEqual
- Parameters:
index
- The index of the value.- Returns:
- the created
ErrorMessageFactory
.
-