public class ShouldNotMatchPattern extends BasicErrorMessageFactory
String does not match a pattern failed.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotMatch(String actual,
String pattern)
Creates a new
. |
create, equals, hashCode, toStringpublic static ErrorMessageFactory shouldNotMatch(String actual, String pattern)
ShouldStartWith.actual - the actual value in the failed assertion.pattern - a regular expression pattern.ErrorMessageFactory.Copyright © 2013 AssertJ. All Rights Reserved.