ErrorMessageFactory
public class ShouldNotMatchPattern extends BasicErrorMessageFactory
CharSequence
does not match a pattern failed.arguments, format
Modifier and Type | Method | Description |
---|---|---|
static ErrorMessageFactory |
shouldNotMatch(CharSequence actual,
CharSequence pattern) |
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldNotMatch(CharSequence actual, CharSequence pattern)
ShouldStartWith
.actual
- the actual value in the failed assertion.pattern
- a regular expression pattern.ErrorMessageFactory
.Copyright © 2014–2019. All rights reserved.