public class ShouldNotContainPattern extends BasicErrorMessageFactory
CharSequence does not contain
a regular expression failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotContainPattern(CharSequence actual,
CharSequence pattern)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldNotContainPattern(CharSequence actual, CharSequence pattern)
ShouldNotContainPattern.actual - the actual value in the failed assertion.pattern - a regular expression pattern.ErrorMessageFactory.Copyright © 2014–2018 AssertJ. All rights reserved.