Thrown to indicate that two values which should have been “the same” (according to some comparison function) were in fact different.

no subtypes hierarchy

Initializer
AssertionComparisonError(String message, String actualValue, String expectedValue)
Parameters:
  • message

    The message describing the problem.

  • actualValue

    The actual string value.

  • expectedValue

    The expected string value.

Attributes
actualValueshared String actualValue

The actual string value.

expectedValueshared 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