Thrown to indicate that two values which should have been “the same” (according to some comparison function) were in fact different.
assertEquals()
, assertNotEquals()
Anything
Object
Basic
...and other supertypesThrowable
AssertionError
AssertionComparisonError
AssertionError
Throwable
Basic
Identifiable
Object
Anything
no subtypes hierarchy
Initializer |
AssertionComparisonError(String message, String actualValue, String expectedValue) Parameters:
|
Attributes | |
actualValue | shared String actualValue The actual string value. |
expectedValue | shared String expectedValue The expected string value. |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Attributes inherited from: Throwable cause , message , string , suppressed |
Inherited Methods |
Methods inherited from: Object equals |
Methods inherited from: Throwable addSuppressed , printStackTrace |