Top Description Fields Constructors Methods
org.assertj.core.error

public Class MatcherShouldMatch

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.util.regex.Matcher

Build error message when an java.util.regex.Matcher should match.
Author
Jiashu Zhang

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static MatcherShouldMatch

Returns:

an error message factory.
shouldMatch
(Matcher
the actual Matcher to test.
matcher
)

Indicates that the provided java.util.regex.Matcher should match.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

MatcherShouldMatchback to summary
private MatcherShouldMatch(Matcher matcher)

Method Detail

shouldMatchback to summary
public static MatcherShouldMatch shouldMatch(Matcher matcher)

Indicates that the provided java.util.regex.Matcher should match.

Parameters
matcher:Matcher

the actual Matcher to test.

Returns:MatcherShouldMatch

an error message factory.