Package org.assertj.core.error
Class MatcherShouldMatch
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.MatcherShouldMatch
-
- All Implemented Interfaces:
ErrorMessageFactory
public class MatcherShouldMatch extends BasicErrorMessageFactory
Build error message when anMatchershould match.
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateMatcherShouldMatch(java.util.regex.Matcher matcher)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatcherShouldMatchshouldMatch(java.util.regex.Matcher matcher)Indicates that the providedMatchershould match.-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Method Detail
-
shouldMatch
public static MatcherShouldMatch shouldMatch(java.util.regex.Matcher matcher)
Indicates that the providedMatchershould match.- Parameters:
matcher- the actualMatcherto test.- Returns:
- an error message factory.
-
-