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