Class ShouldEndWithIgnoringCase

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldEndWithIgnoringCase
All Implemented Interfaces:
ErrorMessageFactory

public class ShouldEndWithIgnoringCase extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that CharSequence ends with a given value (ignoring case considerations) failed.
  • Method Details

    • shouldEndWithIgnoringCase

      public static ErrorMessageFactory shouldEndWithIgnoringCase(CharSequence actual, CharSequence expected, org.assertj.core.internal.ComparisonStrategy comparisonStrategy)
      Parameters:
      actual - the actual value in the failed assertion.
      expected - the value or sequence of values that actual is expected to end with, ignoring case.
      comparisonStrategy - the ComparisonStrategy used to evaluate assertion.
      Returns:
      the created ErrorMessageFactory.