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 anMatcher
should match.
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MatcherShouldMatch(java.util.regex.Matcher matcher)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MatcherShouldMatch
shouldMatch(java.util.regex.Matcher matcher)
Indicates that the providedMatcher
should 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 providedMatcher
should match.- Parameters:
matcher
- the actualMatcher
to test.- Returns:
- an error message factory.
-
-