Package org.assertj.core.error
Class ShouldNotMatchPattern
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldNotMatchPattern
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a
CharSequence
does not match a pattern failed.-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ShouldNotMatchPattern
(CharSequence actual, CharSequence pattern) -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldNotMatch
(CharSequence actual, CharSequence pattern) Creates a new
.ShouldStartWith
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Constructor Details
-
ShouldNotMatchPattern
-
-
Method Details
-
shouldNotMatch
Creates a new
.ShouldStartWith
- Parameters:
actual
- the actual value in the failed assertion.pattern
- a regular expression pattern.- Returns:
- the created
ErrorMessageFactory
.
-