Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldEndWithIgnoringCase

extends BasicErrorMessageFactory
Class Inheritance
Imports
org.assertj.core.internal.ComparisonStrategy

Creates an error message indicating that an assertion that verifies that CharSequence ends with a given value (ignoring case considerations) failed.

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private
ShouldEndWithIgnoringCase(Object actual, Object expected, ComparisonStrategy comparisonStrategy)

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldEndWithIgnoringCase
(CharSequence
the actual value in the failed assertion.
actual
,
CharSequence
the value or sequence of values that actual is expected to end with, ignoring case.
expected
,
ComparisonStrategy
the ComparisonStrategy used to evaluate assertion.
comparisonStrategy
)

Creates a new ShouldEndWithIgnoringCase.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldEndWithIgnoringCaseback to summary
private ShouldEndWithIgnoringCase(Object actual, Object expected, ComparisonStrategy comparisonStrategy)

Method Detail

shouldEndWithIgnoringCaseback to summary
public static ErrorMessageFactory shouldEndWithIgnoringCase(CharSequence actual, CharSequence expected, ComparisonStrategy comparisonStrategy)

Creates a new ShouldEndWithIgnoringCase.

Parameters
actual:CharSequence

the actual value in the failed assertion.

expected:CharSequence

the value or sequence of values that actual is expected to end with, ignoring case.

comparisonStrategy:ComparisonStrategy

the ComparisonStrategy used to evaluate assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.