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

public Class ShouldNotStartWithIgnoringCase

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

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

Field Summary

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

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

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

Creates a new ShouldNotStartWithIgnoringCase.

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

Constructor Detail

ShouldNotStartWithIgnoringCaseback to summary
private ShouldNotStartWithIgnoringCase(Object actual, Object expected, ComparisonStrategy comparisonStrategy)

Method Detail

shouldNotStartWithIgnoringCaseback to summary
public static ErrorMessageFactory shouldNotStartWithIgnoringCase(CharSequence actual, CharSequence expected, ComparisonStrategy comparisonStrategy)

Creates a new ShouldNotStartWithIgnoringCase.

Parameters
actual:CharSequence

the actual value in the failed assertion.

expected:CharSequence

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

comparisonStrategy:ComparisonStrategy

the ComparisonStrategy used to evaluate assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.