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

public Class ShouldNotContainPattern

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that an assertion that verifies that a CharSequence does not contain a regular expression failed.

Field Summary

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldNotContainPattern
(CharSequence
the actual value in the failed assertion.
actual
,
CharSequence
a regular expression pattern.
pattern
)

Creates a new ShouldNotContainPattern.

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

Constructor Detail

ShouldNotContainPatternback to summary
private ShouldNotContainPattern(CharSequence actual, CharSequence pattern)

Method Detail

shouldNotContainPatternback to summary
public static ErrorMessageFactory shouldNotContainPattern(CharSequence actual, CharSequence pattern)

Creates a new ShouldNotContainPattern.

Parameters
actual:CharSequence

the actual value in the failed assertion.

pattern:CharSequence

a regular expression pattern.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.