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

public Class ShouldNotMatchPattern

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that an assertion that verifies that a CharSequence does not match a pattern failed.
Authors
Alex Ruiz, Mikhail Mazursky

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.
shouldNotMatch
(CharSequence
the actual value in the failed assertion.
actual
,
CharSequence
a regular expression pattern.
pattern
)

Creates a new ShouldStartWith.

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

Constructor Detail

ShouldNotMatchPatternback to summary
private ShouldNotMatchPattern(CharSequence actual, CharSequence pattern)

Method Detail

shouldNotMatchback to summary
public static ErrorMessageFactory shouldNotMatch(CharSequence actual, CharSequence pattern)

Creates a new ShouldStartWith.

Parameters
actual:CharSequence

the actual value in the failed assertion.

pattern:CharSequence

a regular expression pattern.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.