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