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

public Class ShouldNotEndWith

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

Creates an error message indicating that an assertion that verifies that a group of elements does not end with a given value or sequence of values failed. A group of elements can be a collection, an array or a String.
Author
Michal Kordas

Field Summary

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

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldNotEndWith
(Object
the actual value in the failed assertion.
actual
,
Object
the value or sequence of values that actual is expected to not end with.
expected
,
ComparisonStrategy
the ComparisonStrategy used to evaluate assertion.
comparisonStrategy
)

Creates a new ShouldNotEndWith.

public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldNotEndWith
(Object
the actual value in the failed assertion.
actual
,
Object
the value or sequence of values that actual is expected to not end with.
expected
)

Creates a new ShouldNotEndWith.

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

Constructor Detail

ShouldNotEndWithback to summary
private ShouldNotEndWith(Object actual, Object expected, ComparisonStrategy comparisonStrategy)

Method Detail

shouldNotEndWithback to summary
public static ErrorMessageFactory shouldNotEndWith(Object actual, Object expected, ComparisonStrategy comparisonStrategy)

Creates a new ShouldNotEndWith.

Parameters
actual:Object

the actual value in the failed assertion.

expected:Object

the value or sequence of values that actual is expected to not end with.

comparisonStrategy:ComparisonStrategy

the ComparisonStrategy used to evaluate assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.

shouldNotEndWithback to summary
public static ErrorMessageFactory shouldNotEndWith(Object actual, Object expected)

Creates a new ShouldNotEndWith.

Parameters
actual:Object

the actual value in the failed assertion.

expected:Object

the value or sequence of values that actual is expected to not end with.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.